diff options
author | Joe Zhao <ztuowen@gmail.com> | 2014-10-08 15:03:02 +0800 |
---|---|---|
committer | Joe Zhao <ztuowen@gmail.com> | 2014-10-08 15:03:02 +0800 |
commit | 72cebebe44749bd11b6f8dd0f6a58a08f83238cf (patch) | |
tree | e8a9e788913edbecf0376a24b8010209b5cc13fd | |
parent | dcfeb9219ce7c8c7044e61ed92efdec614233268 (diff) | |
download | tnet-72cebebe44749bd11b6f8dd0f6a58a08f83238cf.tar.gz tnet-72cebebe44749bd11b6f8dd0f6a58a08f83238cf.tar.bz2 tnet-72cebebe44749bd11b6f8dd0f6a58a08f83238cf.zip |
disabled dim test
-rw-r--r-- | src/CuTNetLib/cuComponent.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/CuTNetLib/cuComponent.h b/src/CuTNetLib/cuComponent.h index 71e51aa..1a038bb 100644 --- a/src/CuTNetLib/cuComponent.h +++ b/src/CuTNetLib/cuComponent.h @@ -154,10 +154,10 @@ namespace TNet { //initialize output buffer mOutput.Init(GetInput().Rows(),GetNOutputs()); //do the dimensionality test - if(GetNInputs() != GetInput().Cols()) { - KALDI_ERR << "Non-matching INPUT dim!!! Network dim: " << GetNInputs() - << " Data dim: " << GetInput().Cols() << GetName(); - } + //if(GetNInputs() != GetInput().Cols()) { + // KALDI_ERR << "Non-matching INPUT dim!!! Network dim: " << GetNInputs() + // << " Data dim: " << GetInput().Cols() << GetName(); + //} //run transform PropagateF(GetInput(),mOutput); } @@ -168,9 +168,9 @@ namespace TNet { mErrorOutput.Init(GetErrorInput().Rows(),GetNInputs()); //do the dimensionality test - assert(GetErrorInput().Cols() == mNOutputs); - assert(mErrorOutput.Cols() == mNInputs); - assert(mErrorOutput.Rows() == GetErrorInput().Rows()); + //assert(GetErrorInput().Cols() == mNOutputs); + //assert(mErrorOutput.Cols() == mNInputs); + //assert(mErrorOutput.Rows() == GetErrorInput().Rows()); //transform BackpropagateF(GetErrorInput(),mErrorOutput); |