Turi Create  4.0
turi::neural_net::Iterator< T > Class Template Referenceabstract

#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 ()
 

Detailed Description

template<typename T>
class turi::neural_net::Iterator< T >

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.

Member Function Documentation

◆ AsPublisher()

template<typename T>
std::shared_ptr<IteratorPublisher<T> > turi::neural_net::Iterator< T >::AsPublisher ( )
inline

Returns a Publisher wrapping this Iterator.

Definition at line 49 of file combine_iterator.hpp.

◆ HasNext()

template<typename T>
virtual bool turi::neural_net::Iterator< T >::HasNext ( ) const
pure virtual

◆ Next()

template<typename T>
virtual Output turi::neural_net::Iterator< T >::Next ( )
pure virtual

The documentation for this class was generated from the following file: