ONE - On-device Neural Engine
|
#include <HDF5Iterator.h>
Public Member Functions | |
HDF5Iterator (const std::string &file_path, luci::Module *module) | |
bool | hasNext () const override |
std::vector< DataBuffer > | next () override |
bool | check_type_shape () const override |
Public Member Functions inherited from record_minmax::DataSetIterator | |
virtual | ~DataSetIterator ()=default |
Definition at line 33 of file HDF5Iterator.h.
record_minmax::HDF5Iterator::HDF5Iterator | ( | const std::string & | file_path, |
luci::Module * | module | ||
) |
Definition at line 29 of file HDF5Iterator.cpp.
References dio::hdf5::HDF5Importer::importGroup(), loco::input_nodes(), dio::hdf5::HDF5Importer::isRawData(), and dio::hdf5::HDF5Importer::numData().
|
overridevirtual |
Implements record_minmax::DataSetIterator.
Definition at line 94 of file HDF5Iterator.cpp.
Referenced by next().
|
overridevirtual |
Implements record_minmax::DataSetIterator.
Definition at line 54 of file HDF5Iterator.cpp.
|
overridevirtual |
Implements record_minmax::DataSetIterator.
Definition at line 56 of file HDF5Iterator.cpp.
References check_type_shape(), record_minmax::getTensorSize(), dio::hdf5::HDF5Importer::numInputs(), and dio::hdf5::HDF5Importer::readTensor().