From 6452fac05026fb4eabfed1f608ce6c35be68c803 Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Wed, 8 Oct 2014 16:27:51 +0800 Subject: add getin & get out++ --- src/CuTNetLib/cuMisc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CuTNetLib/cuMisc.h b/src/CuTNetLib/cuMisc.h index e0e1f4d..f208a20 100644 --- a/src/CuTNetLib/cuMisc.h +++ b/src/CuTNetLib/cuMisc.h @@ -345,7 +345,7 @@ namespace TNet { void Backpropagate() { int loc=0; - mErrorOutput.Init(GetErrorInput.Rows(),GetNInput()); + mErrorOutput.Init(GetErrorInput.Rows(),GetNInputs()); for (int i=0;i