summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nerv/examples/trainer.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/nerv/examples/trainer.lua b/nerv/examples/trainer.lua
index 7af628e..783ff1d 100644
--- a/nerv/examples/trainer.lua
+++ b/nerv/examples/trainer.lua
@@ -72,6 +72,7 @@ local trainer_defaults = {
momentum = 0.9,
cur_iter = 1,
max_iter = 20,
+ randomize = true,
cumat_tname = "nerv.CuMatrixFloat",
mmat_tname = "nerv.MMatrixFloat",
trainer_tname = "nerv.Trainer",