neoml-lib/neoml

Error?

MaratKhabibullin opened this issue · 0 comments

Seems like in backward stage sign of inputDiffBlobs[1] must be negative.

void CEltwiseSubLayer::BackwardOnce()
{
for( int i = 0; i < inputDiffBlobs.Size(); ++i ) {
MathEngine().VectorCopy( inputDiffBlobs[i]->GetData(), outputDiffBlobs[0]->GetData(),
inputDiffBlobs[i]->GetDataSize() );
}
}