Turi Create
4.0
|
#include <ml/neural_net/combine_iterator.hpp>
Public Member Functions | |
virtual bool | HasNext () const =0 |
virtual Output | Next ()=0 |
std::shared_ptr< IteratorPublisher< T > > | AsPublisher () |
Interface for objects that produce a sequence of values, using the conventional iterator interface.
This type facilitates wrapping traditional iterator-style code as a Publisher.
Definition at line 31 of file combine_iterator.hpp.
|
inline |
Returns a Publisher wrapping this Iterator.
Definition at line 49 of file combine_iterator.hpp.
|
pure virtual |
Returns true as long as the underlying sequence contains more values.
Implemented in turi::object_detection::DataIterator, turi::style_transfer::InferenceDataIterator, turi::style_transfer::DataIterator, turi::object_detection::DarknetYOLOCheckpointer, and turi::neural_net::CallableIterator< Callable >.
|
pure virtual |
Returns the next value in the sequence. May throw on error.
Implemented in turi::object_detection::DataIterator, turi::style_transfer::InferenceDataIterator, turi::style_transfer::DataIterator, turi::object_detection::DarknetYOLOCheckpointer, and turi::neural_net::CallableIterator< Callable >.