aboutsummaryrefslogtreecommitdiff
path: root/nerv/examples
diff options
context:
space:
mode:
authortxh18 <cloudygooseg@gmail.com>2015-10-25 22:33:04 +0800
committertxh18 <cloudygooseg@gmail.com>2015-10-25 22:33:04 +0800
commit78feac4ca2c9a32710985dc0295c24d418712009 (patch)
treed4aee9437868e2609865049852d1f9b639af88fe /nerv/examples
parent8e7d9453520840b6a5e269a101ca72b4a7ab36fa (diff)
added timer for profiling
Diffstat (limited to 'nerv/examples')
-rw-r--r--nerv/examples/lmptb/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nerv/examples/lmptb/main.lua b/nerv/examples/lmptb/main.lua
index 74ce407..9b39e83 100644
--- a/nerv/examples/lmptb/main.lua
+++ b/nerv/examples/lmptb/main.lua
@@ -268,7 +268,7 @@ if (set == "ptb") then
hidden_size = 200,
batch_size = 10,
- bptt = 6, --train bptt_block's words. could be set to zero
+ bptt = 3, --train bptt_block's words. could be set to zero
max_iter = 18,
param_random = function() return (math.random() / 5 - 0.1) end,
independent = true,