From 023c5fbd2e888845fed0bfd2d79e7f934904cc1a Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Tue, 7 Oct 2014 14:42:26 +0800 Subject: output 1 --- src/CuTNetLib/cuCompDisc.cc | 4 ++-- 1 file 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; iPropagate(); - 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; iBackpropagate(); - mOutput.Init(GetOutput()); + mErrorOutput.Init(GetErrorOutput()); } void -- cgit v1.2.3-70-g09d2