summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-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)}