Skip to content

Conversation

@durana
Copy link

@durana durana commented Sep 30, 2017

Found two minor bugs in the data loader code, 1) the data index pointer was always advanced by the batch size even if a caller passed a value for n, and 2) the iterator would stop before reaching the end of the data in cases where the batch size did not evenly divide the data size (i.e., you'd skip the last batch).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant