Turi Create
4.0
|
#include <toolkits/activity_classification/ac_data_iterator.hpp>
Public Member Functions | |
bool | has_next_batch () const override |
batch | next_batch (size_t batch_size) override |
void | reset () override |
Concrete data_iterator implementation that doesn't attempt any parallelization or background I/O.
Definition at line 167 of file ac_data_iterator.hpp.
|
overridevirtual |
Returns true if and only if the next call to next_batch
will return a batch with size greater than 0.
Implements turi::activity_classification::data_iterator.
|
overridevirtual |
Returns a batch containing float arrays with the indicated batch size.
Eventually returns a batch with size smaller than the requested size, indicating that the entire dataset has been traversed. All subsequent calls will return an empty (all padding) batch, until reset.
Implements turi::activity_classification::data_iterator.
|
overridevirtual |
Begins a fresh traversal of the dataset.
Implements turi::activity_classification::data_iterator.