From 02d6c033467a40983264e457905130ced0b9b8d6 Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Mon, 6 Oct 2014 14:25:23 +0800 Subject: Virtual 3 --- src/CuTNetLib/cuComponent.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/CuTNetLib/cuComponent.h b/src/CuTNetLib/cuComponent.h index ebbfdc5..c74a76f 100644 --- a/src/CuTNetLib/cuComponent.h +++ b/src/CuTNetLib/cuComponent.h @@ -330,7 +330,7 @@ namespace TNet { mpErrorInput = &rErrorInput; } - inline const CuMatrix& + virtual const CuMatrix& CuComponent:: GetInput(int pos) { @@ -338,14 +338,14 @@ namespace TNet { return *mpInput; } - inline const CuMatrix& + virtual const CuMatrix& CuComponent:: GetOutput(int pos) { return mOutput; } - inline const CuMatrix& + virtual const CuMatrix& CuComponent:: GetErrorInput(int pos) { @@ -353,7 +353,7 @@ namespace TNet { return *mpErrorInput; } - inline const CuMatrix& + virtual const CuMatrix& CuComponent:: GetErrorOutput(int pos) { -- cgit v1.2.3-70-g09d2