summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/CuTNetLib/cuBiasedLinearity.cc2
-rw-r--r--src/CuTNetLib/cuComponent.h3
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,