From 5f20f382827ffad4e02d302c7714abb139d998bb Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Mon, 6 Oct 2014 14:22:59 +0800 Subject: Virtual 2 --- 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 9eec461..ebbfdc5 100644 --- a/src/CuTNetLib/cuComponent.h +++ b/src/CuTNetLib/cuComponent.h @@ -124,10 +124,10 @@ namespace TNet { int GetOutSect() const; /// IO Data getters - const CuMatrix& GetInput(int pos=0); - const CuMatrix& GetOutput(int pos=0); - const CuMatrix& GetErrorInput(int pos=0); - const CuMatrix& GetErrorOutput(int pos=0); + virtual const CuMatrix& GetInput(int pos=0); + virtual const CuMatrix& GetOutput(int pos=0); + virtual const CuMatrix& GetErrorInput(int pos=0); + virtual const CuMatrix& GetErrorOutput(int pos=0); /// Set input vector (bind with the preceding NetworkComponent) void SetInput(const CuMatrix& rInput,int pos=0); -- cgit v1.2.3-70-g09d2