summaryrefslogtreecommitdiff
path: root/src/CuTNetLib/cuMisc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/CuTNetLib/cuMisc.h')
-rw-r--r--src/CuTNetLib/cuMisc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CuTNetLib/cuMisc.h b/src/CuTNetLib/cuMisc.h
index f208a20..207b210 100644
--- a/src/CuTNetLib/cuMisc.h
+++ b/src/CuTNetLib/cuMisc.h
@@ -345,7 +345,7 @@ namespace TNet {
void Backpropagate()
{
int loc=0;
- mErrorOutput.Init(GetErrorInput.Rows(),GetNInputs());
+ mErrorOutput.Init(GetErrorInput().Rows(),GetNInputs());
for (int i=0;i<size;++i)
{
mErrorOutput.CopyCols(SectLen[i], 0, GetErrorInput(i), loc);
@@ -437,7 +437,7 @@ namespace TNet {
void Propagate()
{
int loc=0;
- mOutput.Init(GetInput.Rows(),GetNOutputs());
+ mOutput.Init(GetInput().Rows(),GetNOutputs());
for (int i=0;i<size;++i)
{
mOutput.CopyCols(SectLen[i], 0, GetInput(i), loc);