Rate this Page

Template Struct IteratorImpl#

Inheritance Relationships#

Derived Types#

Struct Documentation#

template<typenameBatch>
structIteratorImpl#

Base class for theValidIterator andSentinelIterator

Subclassed bytorch::data::detail::SentinelIterator< Batch >,torch::data::detail::ValidIterator< Batch >

Public Functions

virtual~IteratorImpl()=default#
virtualvoidnext()=0#
virtualBatch&get()=0#
virtualbooloperator==(constIteratorImpl&other)const=0#
virtualbooloperator==(constValidIterator<Batch>&other)const=0#
virtualbooloperator==(constSentinelIterator<Batch>&other)const=0#