Template Struct IteratorImpl#
Defined inFile iterator.h
Inheritance Relationships#
Derived Types#
publictorch::data::detail::SentinelIterator<Batch>(Template Struct SentinelIterator)publictorch::data::detail::ValidIterator<Batch>(Template Struct ValidIterator)
Struct Documentation#
- template<typenameBatch>
structIteratorImpl# Base class for the
ValidIteratorandSentinelIteratorSubclassed bytorch::data::detail::SentinelIterator< Batch >,torch::data::detail::ValidIterator< Batch >
Public Functions
- virtual~IteratorImpl()=default#
- virtualvoidnext()=0#
- virtualbooloperator==(constIteratorImpl&other)const=0#
- virtualbooloperator==(constValidIterator<Batch>&other)const=0#
- virtualbooloperator==(constSentinelIterator<Batch>&other)const=0#
- virtual~IteratorImpl()=default#