Turi Create
4.0
|
#include <toolkits/style_transfer/st_model_trainer.hpp>
Public Member Functions | |
bool | HasNext () const override |
DataBatch | Next () override |
std::shared_ptr< IteratorPublisher< DataBatch > > | AsPublisher () |
Wrapper around DataIterator that duplicates each batch, with each duplicate writing a different style index into every example for each duplicate.
Definition at line 131 of file st_model_trainer.hpp.
|
inlineinherited |
Returns a Publisher wrapping this Iterator.
Definition at line 49 of file combine_iterator.hpp.
|
overridevirtual |
Returns true as long as the underlying sequence contains more values.
Implements turi::neural_net::Iterator< DataBatch >.
|
overridevirtual |
Returns the next value in the sequence. May throw on error.
Implements turi::neural_net::Iterator< DataBatch >.