aboutsummaryrefslogtreecommitdiff
path: root/nerv/examples/ptb/main.lua
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2016-06-08 14:37:21 +0800
committerDeterminant <ted.sybil@gmail.com>2016-06-08 14:37:21 +0800
commit1d7af85c108d0e87b986db2dd23d524735a8b279 (patch)
tree24ba36d82f092390e133fce0eb0abe6647bb73e0 /nerv/examples/ptb/main.lua
parentb7cdd5da65a3e4ae58ffcfdf74710cfb1ee6327f (diff)
parentd58b7adf0acd68921ec2d38d5929bf68406d4982 (diff)
Merge remote-tracking branch 'lab/master'
Diffstat (limited to 'nerv/examples/ptb/main.lua')
-rw-r--r--nerv/examples/ptb/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nerv/examples/ptb/main.lua b/nerv/examples/ptb/main.lua
index 5d1a326..7191da0 100644
--- a/nerv/examples/ptb/main.lua
+++ b/nerv/examples/ptb/main.lua
@@ -105,7 +105,7 @@ function trainer:epoch_preprocess(dataset, do_train)
total_frame = 0
end
-function trainer:mini_batch_middleprocess(cnt, info)
+function trainer:mini_batch_inprocess(cnt, info)
for t = 1, gconf.chunk_size do
local tmp = info.output[1][t]:new_to_host()
for i = 1, gconf.batch_size do