diff options
Diffstat (limited to 'src/CuTNetLib/cuComponent.h')
-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); |