Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
torch::data::detail::IteratorImpl< Batch > Struct Template Referenceabstract

Base class for the ValidIterator and SentinelIterator More...

#include <iterator.h>

Inheritance diagram for torch::data::detail::IteratorImpl< Batch >:
torch::data::detail::SentinelIterator< Batch > torch::data::detail::ValidIterator< Batch >

Public Member Functions

virtual void next ()=0
virtual Batch & get ()=0
virtual bool operator== (const IteratorImpl &other) const =0
virtual bool operator== (const ValidIterator< Batch > &other) const =0
virtual bool operator== (const SentinelIterator< Batch > &other) const =0

Detailed Description

template<typename Batch>
struct torch::data::detail::IteratorImpl< Batch >

Base class for the ValidIterator and SentinelIterator

Definition at line 33 of file iterator.h.

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