Internal data iterator.
number of batches per epoch to resize to.
whether to reset internal iterator on ResizeIter.reset
(Changed in version 2.8.0)
collect has changed. The previous behavior can be reproduced with
get data of current batch
Get the index of current batch
Get label of current batch
Get the number of padding examples in current batch
get next data batch from iterator
reset the iterator