iterator type
More...
#include <io.h>
|
| virtual void | Init (const std::vector< std::pair< std::string, std::string > > &kwargs)=0 |
| | set the parameters and init iter More...
|
| |
| virtual void | BeforeFirst (void)=0 |
| | reset the iterator More...
|
| |
| virtual bool | Next (void)=0 |
| | move to next item More...
|
| |
| virtual const DType & | Value (void) const =0 |
| | get current data More...
|
| |
| virtual | ~IIterator (void) |
| | constructor More...
|
| |
| void | SetDataName (const std::string data_name) |
| | set data name to each attribute of data More...
|
| |
|
| std::vector< std::string > | data_names |
| | store the name of each data, it could be used for making NDArrays More...
|
| |
template<typename DType>
class mxnet::IIterator< DType >
iterator type
- Template Parameters
-
template<typename DType >
template<typename DType >
template<typename DType >
| virtual void mxnet::IIterator< DType >::Init |
( |
const std::vector< std::pair< std::string, std::string > > & |
kwargs | ) |
|
|
pure virtual |
set the parameters and init iter
- Parameters
-
template<typename DType >
template<typename DType >
set data name to each attribute of data
template<typename DType >
template<typename DType >
store the name of each data, it could be used for making NDArrays
The documentation for this class was generated from the following file: