From df8c51ab1f7153da6c91e29d9ff38af7864c5881 Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Wed, 8 Oct 2014 17:16:24 +0800 Subject: add getin & get out++++ --- src/CuTNetLib/cuMisc.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/CuTNetLib/cuMisc.h') diff --git a/src/CuTNetLib/cuMisc.h b/src/CuTNetLib/cuMisc.h index 207b210..5fbcf9d 100644 --- a/src/CuTNetLib/cuMisc.h +++ b/src/CuTNetLib/cuMisc.h @@ -331,6 +331,13 @@ namespace TNet { ErrorInputVec[pos]=&rErrorInput; } + void CuMatrix& GetOutput(int pos=0) + { + if (pos>=0 && pos& GetErrorOutput(int pos=0) + { + if (pos>=0 && pos