aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-06-10 20:47:27 +0800
committerDeterminant <[email protected]>2015-06-10 20:47:27 +0800
commit5d53ce7bd24169a2bf8ca585fe48f4bee603e5d7 (patch)
tree54080d313c6b4bc3f382e4d794ae83158919369a
parentb818c2562d07a69083377cbc34f2add108e9fa66 (diff)
...
-rw-r--r--examples/test_dnn_layers.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/test_dnn_layers.lua b/examples/test_dnn_layers.lua
index f306807..bf81f7b 100644
--- a/examples/test_dnn_layers.lua
+++ b/examples/test_dnn_layers.lua
@@ -36,8 +36,8 @@ output1 = {nerv.CuMatrixFloat(10, 2048)}
input2 = output1
output2 = {nerv.CuMatrixFloat(10, 2048)}
input3 = {output2[1], label}
-output3 = nil
-err_input1 = nil
+output3 = {}
+err_input1 = {}
err_output1 = {nerv.CuMatrixFloat(10, 2048)}
err_input2 = err_output1
err_output2 = {nerv.CuMatrixFloat(10, 2048)}