diff options
author | Joe Zhao <ztuowen@gmail.com> | 2014-10-06 14:22:59 +0800 |
---|---|---|
committer | Joe Zhao <ztuowen@gmail.com> | 2014-10-06 14:22:59 +0800 |
commit | 5f20f382827ffad4e02d302c7714abb139d998bb (patch) | |
tree | ca29befce2b510b022984f66f75ce82c8d0f7104 | |
parent | 2ac9dc15e0128651169391d67e63ecbba3a5ae1b (diff) | |
download | tnet-5f20f382827ffad4e02d302c7714abb139d998bb.tar.gz tnet-5f20f382827ffad4e02d302c7714abb139d998bb.tar.bz2 tnet-5f20f382827ffad4e02d302c7714abb139d998bb.zip |
Virtual 2
-rw-r--r-- | src/CuTNetLib/cuComponent.h | 8 |
1 files changed, 4 insertions, 4 deletions
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<BaseFloat>& GetInput(int pos=0); - const CuMatrix<BaseFloat>& GetOutput(int pos=0); - const CuMatrix<BaseFloat>& GetErrorInput(int pos=0); - const CuMatrix<BaseFloat>& GetErrorOutput(int pos=0); + virtual const CuMatrix<BaseFloat>& GetInput(int pos=0); + virtual const CuMatrix<BaseFloat>& GetOutput(int pos=0); + virtual const CuMatrix<BaseFloat>& GetErrorInput(int pos=0); + virtual const CuMatrix<BaseFloat>& GetErrorOutput(int pos=0); /// Set input vector (bind with the preceding NetworkComponent) void SetInput(const CuMatrix<BaseFloat>& rInput,int pos=0); |