aboutsummaryrefslogtreecommitdiff
path: root/nerv/examples
diff options
context:
space:
mode:
authorQi Liu <liuq901@163.com>2016-05-09 21:02:57 +0800
committerQi Liu <liuq901@163.com>2016-05-09 21:02:57 +0800
commit4585970021f75d4c9e7154fc1681a80efa0f48ab (patch)
treeb2773916f1eb836ac3ea0ace5080b881ad2960ba /nerv/examples
parent03439902dbd339cfbbc684b6fcc6b1810fa02ede (diff)
clip on gradient now
Diffstat (limited to 'nerv/examples')
-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 f6c7a5a..caed2e2 100644
--- a/nerv/examples/trainer.lua
+++ b/nerv/examples/trainer.lua
@@ -80,6 +80,7 @@ local trainer_defaults = {
local options = make_options(trainer_defaults)
local extra_opt_spec = {
+ {"clip", nil, "number"},
{"resume-from", nil, "string"},
{"help", "h", "boolean", default = false, desc = "show this help information"},
{"dir", nil, "string", desc = "specify the working directory"},