ONE - On-device Neural Engine
|
#include <DataProvider.h>
Public Member Functions | |
H5FileDataProvider (const std::string &h5file, const std::string &module_path) | |
size_t | numSamples () const override |
uint32_t | numInputs (uint32_t sample) const override |
void | getSampleInput (uint32_t sample, uint32_t input, InputData &data) const override |
Public Member Functions inherited from mpqsolver::core::DataProvider | |
virtual | ~DataProvider ()=default |
Definition at line 53 of file DataProvider.h.
H5FileDataProvider::H5FileDataProvider | ( | const std::string & | h5file, |
const std::string & | module_path | ||
) |
Definition at line 52 of file DataProvider.cpp.
References dio::hdf5::HDF5Importer::importGroup(), luci::ImporterEx::importVerifyModule(), loco::input_nodes(), and dio::hdf5::HDF5Importer::isRawData().
|
overridevirtual |
Implements mpqsolver::core::DataProvider.
Definition at line 73 of file DataProvider.cpp.
References dio::hdf5::HDF5Importer::readTensor().
|
overridevirtual |
Implements mpqsolver::core::DataProvider.
Definition at line 68 of file DataProvider.cpp.
References dio::hdf5::HDF5Importer::numInputs().
|
overridevirtual |
Implements mpqsolver::core::DataProvider.
Definition at line 66 of file DataProvider.cpp.
References dio::hdf5::HDF5Importer::numData().