diff options
author | Qi Liu <[email protected]> | 2016-03-11 13:32:00 +0800 |
---|---|---|
committer | Qi Liu <[email protected]> | 2016-03-11 13:32:00 +0800 |
commit | f26288ba61d3d16866e1b227a71e7d9c46923436 (patch) | |
tree | ea41bb08994d9d2ee59c3ac5f3ec2c41bcaac6d2 /lua/reader.lua | |
parent | 05fcde5bf0caa1ceb70fef02fc88eda6f00c5ed5 (diff) |
update mini_batch_init
Diffstat (limited to 'lua/reader.lua')
-rw-r--r-- | lua/reader.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/reader.lua b/lua/reader.lua index 2e51a9c..0c7bcb6 100644 --- a/lua/reader.lua +++ b/lua/reader.lua @@ -58,7 +58,8 @@ function Reader:get_all_batch(global_conf) for i = 1, global_conf.batch_size do pos[i] = nil end - while true do + --while true do + for i = 1, 100 do local input = {} local output = {} for i = 1, global_conf.chunk_size do |