diff options
author | Joe Zhao <ztuowen@gmail.com> | 2014-10-07 15:52:14 +0800 |
---|---|---|
committer | Joe Zhao <ztuowen@gmail.com> | 2014-10-07 15:52:14 +0800 |
commit | 75d91ffc50cfa9c3351241f0ff4b1ccb1d01e7c5 (patch) | |
tree | 40b5aab9922308717c6d14709bc8d2066a753ce8 | |
parent | be9b20e009c5f148074241ae216f1eb0aa46b1b4 (diff) | |
download | tnet-75d91ffc50cfa9c3351241f0ff4b1ccb1d01e7c5.tar.gz tnet-75d91ffc50cfa9c3351241f0ff4b1ccb1d01e7c5.tar.bz2 tnet-75d91ffc50cfa9c3351241f0ff4b1ccb1d01e7c5.zip |
output 1++
-rw-r--r-- | src/CuTNetLib/cuCompDisc.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CuTNetLib/cuCompDisc.cc b/src/CuTNetLib/cuCompDisc.cc index e1dfef2..57b2b79 100644 --- a/src/CuTNetLib/cuCompDisc.cc +++ b/src/CuTNetLib/cuCompDisc.cc @@ -4,6 +4,7 @@ #include "Error.h" +#include <stdio.h> namespace TNet { @@ -112,6 +113,7 @@ namespace TNet CuCompound:: BackpropagateF(const CuMatrix<BaseFloat>& X, CuMatrix<BaseFloat>& Y) { + printf("BP+\n"); int iLoc=0,oLoc=0; CuMatrix<BaseFloat> In; CuMatrix<BaseFloat> Out; @@ -123,6 +125,7 @@ namespace TNet iLoc+=mBlocks[i]->GetNOutputs(); oLoc+=mBlocks[i]->GetNInputs(); } + printf("BP-\n"); } void |