diff options
author | Joe Zhao <ztuowen@gmail.com> | 2014-10-07 14:42:26 +0800 |
---|---|---|
committer | Joe Zhao <ztuowen@gmail.com> | 2014-10-07 14:42:26 +0800 |
commit | 023c5fbd2e888845fed0bfd2d79e7f934904cc1a (patch) | |
tree | 5646d12edc5aa3c3e95d4fd146eb0fea54e1a08d | |
parent | 44c0182d6453a6c503d9bf67852703230a8ab412 (diff) | |
download | tnet-023c5fbd2e888845fed0bfd2d79e7f934904cc1a.tar.gz tnet-023c5fbd2e888845fed0bfd2d79e7f934904cc1a.tar.bz2 tnet-023c5fbd2e888845fed0bfd2d79e7f934904cc1a.zip |
output 1
-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 cb97639..e1dfef2 100644 --- a/src/CuTNetLib/cuCompDisc.cc +++ b/src/CuTNetLib/cuCompDisc.cc @@ -16,7 +16,7 @@ namespace TNet mBlocks[inID[i].block]->SetInput(GetInput(i),inID[i].pos); for (int i=0; i<mBlocks.size(); i++) mBlocks[i]->Propagate(); - mErrorOutput.Init(GetOutput()); + mOutput.Init(GetOutput()); } void @@ -34,7 +34,7 @@ namespace TNet mBlocks[outID[i].block]->SetErrorInput(GetErrorInput(i),outID[i].pos); for(int i=0; i<mBlocks.size(); i++) mBlocks[i]->Backpropagate(); - mOutput.Init(GetOutput()); + mErrorOutput.Init(GetErrorOutput()); } void |