aboutsummaryrefslogtreecommitdiff
path: root/nerv/examples/ptb/main.lua
diff options
context:
space:
mode:
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