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 toSeq
.
get data of current batch
Get the index of current batch
Get the index of current batch
the index of current batch
Get label of current batch
Get the number of padding examples in current batch
Get the number of padding examples in current batch
number of padding examples in current batch
get next data batch from iterator
get next data batch from iterator
reset the iterator
reset the iterator
(Since version 1.3.0) Please use provideDataDesc instead
(Since version 1.3.0) Please use provideLabelDesc instead
Resize a DataIter to given number of batches per epoch. May produce incomplete batch in the middle of an epoch due to padding from internal iterator.