Skip to content

Commit

Permalink
Merge pull request #11 from red-data-tools/fix/epoch-loop
Browse files Browse the repository at this point in the history
FIX @current_position indent
  • Loading branch information
hatappi authored Sep 30, 2017
2 parents fd8a1cb + 126d378 commit 5f92a43
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/chainer/iterators/serial_iterator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@ def next
else
batch = @dataset[0...rest].map { |index| @dataset[index] }
end

@current_position = rest
end
@current_position = rest
else
@current_position = 0
end
Expand Down

0 comments on commit 5f92a43

Please sign in to comment.