diff options
author | Joe Zhao <ztuowen@gmail.com> | 2014-10-06 22:10:03 +0800 |
---|---|---|
committer | Joe Zhao <ztuowen@gmail.com> | 2014-10-06 22:10:03 +0800 |
commit | d368b54f516cf81e25b1ac77c36974bf3c4f462a (patch) | |
tree | 693c4d75c3fbd026a3aac8fb44ffe7f621e9e140 | |
parent | edfb2d6a667b8796363e76a48c77f6032f1e1a4c (diff) | |
download | tnet-d368b54f516cf81e25b1ac77c36974bf3c4f462a.tar.gz tnet-d368b54f516cf81e25b1ac77c36974bf3c4f462a.tar.bz2 tnet-d368b54f516cf81e25b1ac77c36974bf3c4f462a.zip |
Virtual 9++++++++++++++
-rw-r--r-- | src/CuTNetLib/cuBiasedLinearity.cc | 2 | ||||
-rw-r--r-- | src/CuTNetLib/cuComponent.h | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/CuTNetLib/cuBiasedLinearity.cc b/src/CuTNetLib/cuBiasedLinearity.cc index 126c3db..830e03e 100644 --- a/src/CuTNetLib/cuBiasedLinearity.cc +++ b/src/CuTNetLib/cuBiasedLinearity.cc @@ -21,7 +21,7 @@ namespace TNet BackpropagateFnc(const CuMatrix<BaseFloat>& X, CuMatrix<BaseFloat>& Y) { //Y.SetConst(0.0); - std::cout<<UID<<":"<<mLinearity.Rows()<<"\t"<<mLinearity.Cols()<<std::endl; + std::cout<<mLinearity.Rows()<<"\t"<<mLinearity.Cols()<<std::endl; Y.Gemm('N', 'T', 1.0, X, mLinearity, 0.0); } diff --git a/src/CuTNetLib/cuComponent.h b/src/CuTNetLib/cuComponent.h index 0ba55b5..cce7587 100644 --- a/src/CuTNetLib/cuComponent.h +++ b/src/CuTNetLib/cuComponent.h @@ -46,9 +46,6 @@ namespace TNet { class CuComponent { public: - static int UID_CNT; - /// Unique id of this component - int UID; /// Types of the net components typedef enum { UPDATABLE_COMPONENT = 0x0100, |