diff options
author | Joe Zhao <ztuowen@gmail.com> | 2014-04-14 11:18:58 +0800 |
---|---|---|
committer | Joe Zhao <ztuowen@gmail.com> | 2014-04-14 11:18:58 +0800 |
commit | f98b9b720f0f5c511f5cb735f0456f0d5fe3c791 (patch) | |
tree | cb9398f27458348c9f1b43fb1a734ded16a5507a /src/CuTNetLib/cuCompDisc.cc | |
parent | cccccbf6cca94a3eaf813b4468453160e91c332b (diff) | |
download | tnet-f98b9b720f0f5c511f5cb735f0456f0d5fe3c791.tar.gz tnet-f98b9b720f0f5c511f5cb735f0456f0d5fe3c791.tar.bz2 tnet-f98b9b720f0f5c511f5cb735f0456f0d5fe3c791.zip |
Supporting const rev.
Diffstat (limited to 'src/CuTNetLib/cuCompDisc.cc')
-rw-r--r-- | src/CuTNetLib/cuCompDisc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CuTNetLib/cuCompDisc.cc b/src/CuTNetLib/cuCompDisc.cc index 2336a86..4c31f58 100644 --- a/src/CuTNetLib/cuCompDisc.cc +++ b/src/CuTNetLib/cuCompDisc.cc @@ -92,7 +92,7 @@ namespace TNet void CuCompound:: - PropagateF(CuMatrix<BaseFloat>& X, CuMatrix<BaseFloat>& Y) + PropagateF(const CuMatrix<BaseFloat>& X, CuMatrix<BaseFloat>& Y) { int iLoc=0,oLoc=0; CuMatrix<BaseFloat> In; @@ -109,7 +109,7 @@ namespace TNet void CuCompound:: - BackpropagateF(CuMatrix<BaseFloat>& X, CuMatrix<BaseFloat>& Y) + BackpropagateF(const CuMatrix<BaseFloat>& X, CuMatrix<BaseFloat>& Y) { int iLoc=0,oLoc=0; CuMatrix<BaseFloat> In; |