aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQi Liu <[email protected]>2016-03-31 20:30:44 +0800
committerQi Liu <[email protected]>2016-03-31 20:30:44 +0800
commit74d6956dc79b387289d911d9cbea5b7245405b62 (patch)
tree02d534c432537abdb3fb4ce3a8365a5f5463821e
parentc5d07f0fc076d6cece255cf2372df9ef7c63126b (diff)
add randomize into default setting
-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",