mxnet
|
data iterator interface this is not a C++ style iterator, but nice for data pulling:) This interface is used to pull in the data The system can do some useful tricks for you like pre-fetching from disk and pre-computation. More...
#include <data.h>
Public Member Functions | |
virtual | ~DataIter (void) DMLC_THROW_EXCEPTION |
destructor More... | |
virtual void | BeforeFirst (void)=0 |
set before first of the item More... | |
virtual bool | Next (void)=0 |
move to next item More... | |
virtual const DType & | Value (void) const =0 |
get current data More... | |
data iterator interface this is not a C++ style iterator, but nice for data pulling:) This interface is used to pull in the data The system can do some useful tricks for you like pre-fetching from disk and pre-computation.
Usage example:
DType | the data type |
|
inlinevirtual |
destructor
|
pure virtual |
set before first of the item
Implemented in dmlc::ThreadedIter< DType >, and mxnet::IIterator< DType >.
|
pure virtual |
move to next item
Implemented in dmlc::ThreadedIter< DType >, and mxnet::IIterator< DType >.
|
pure virtual |
get current data
Implemented in dmlc::ThreadedIter< DType >, and mxnet::IIterator< DType >.