From 3eed0cecd953ce40f9d541f0af86f32f9f46aedb Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Wed, 8 Oct 2014 17:18:44 +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 5fbcf9d..137dbcf 100644 --- a/src/CuTNetLib/cuMisc.h +++ b/src/CuTNetLib/cuMisc.h @@ -331,7 +331,7 @@ namespace TNet { ErrorInputVec[pos]=&rErrorInput; } - void CuMatrix& GetOutput(int pos=0) + const CuMatrix& GetOutput(int pos=0) { if (pos>=0 && pos& GetErrorOutput(int pos=0) { if (pos>=0 && pos