Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/clementfarabet/lua---nnx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNicholas Leonard <nick@nikopia.org>2014-09-18 23:03:51 +0400
committerNicholas Leonard <nick@nikopia.org>2014-09-18 23:03:51 +0400
commit76abd3b0cf8f4a71b5432736bbf482614d9f78bb (patch)
tree5bb64b724131206e91de7574b0b4f1c54abc8d8c /test
parent41452d951d0e66360299ef42a3f22dc39519b113 (diff)
PushTable/PullTable:forward works (unit tested)
Diffstat (limited to 'test')
-rw-r--r--test/test-all.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-all.lua b/test/test-all.lua
index b3d033c..c784073 100644
--- a/test/test-all.lua
+++ b/test/test-all.lua
@@ -694,7 +694,7 @@ function nnxtest.PushPullTable()
-- and targets are teleported (pushed then pulled) to softmaxtree
local mlp = nn.Sequential()
local linear = nn.Linear(50,100)
- local push = nn.Push(2)
+ local push = nn.PushTable(2)
local pull = push:pull(2)
mlp:add(push)
mlp:add(nn.SelectTable(1))