diff options
author | Joe Zhao <ztuowen@gmail.com> | 2014-10-06 14:25:23 +0800 |
---|---|---|
committer | Joe Zhao <ztuowen@gmail.com> | 2014-10-06 14:25:23 +0800 |
commit | 02d6c033467a40983264e457905130ced0b9b8d6 (patch) | |
tree | e4475397741bb05a6498f9fc90bd70b64f87759d | |
parent | 5f20f382827ffad4e02d302c7714abb139d998bb (diff) | |
download | tnet-02d6c033467a40983264e457905130ced0b9b8d6.tar.gz tnet-02d6c033467a40983264e457905130ced0b9b8d6.tar.bz2 tnet-02d6c033467a40983264e457905130ced0b9b8d6.zip |
Virtual 3
-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 ebbfdc5..c74a76f 100644 --- a/src/CuTNetLib/cuComponent.h +++ b/src/CuTNetLib/cuComponent.h @@ -330,7 +330,7 @@ namespace TNet { mpErrorInput = &rErrorInput; } - inline const CuMatrix<BaseFloat>& + virtual const CuMatrix<BaseFloat>& CuComponent:: GetInput(int pos) { @@ -338,14 +338,14 @@ namespace TNet { return *mpInput; } - inline const CuMatrix<BaseFloat>& + virtual const CuMatrix<BaseFloat>& CuComponent:: GetOutput(int pos) { return mOutput; } - inline const CuMatrix<BaseFloat>& + virtual const CuMatrix<BaseFloat>& CuComponent:: GetErrorInput(int pos) { @@ -353,7 +353,7 @@ namespace TNet { return *mpErrorInput; } - inline const CuMatrix<BaseFloat>& + virtual const CuMatrix<BaseFloat>& CuComponent:: GetErrorOutput(int pos) { |