ONE - On-device Neural Engine
|
Namespaces | |
namespace | train |
Data Structures | |
class | BaseLoader |
class | ILoader |
Functions | |
std::unique_ptr< ir::Model > | loadCircleModel (const std::string &filename) |
std::unique_ptr< ir::Model > | loadCircleModel (uint8_t *buffer, size_t size) |
std::unique_ptr< ir::Model > | loadModel (const std::string &filename, const std::string &type) |
Create custom loader and load model from file. | |
std::unique_ptr< ir::Model > | loadTFLiteModel (const std::string &filename) |
std::unique_ptr< ir::train::TrainingInfo > | loadTrainingInfo (const uint8_t *buffer, const size_t size) |
template<typename T > | |
bool | Copy (const T *data_ptr, std::vector< uint16_t > &arr) |
Variables | |
const char *const | TRAININFO_METADATA_NAME = "CIRCLE_TRAINING" |
bool onert::loader::Copy | ( | const T * | data_ptr, |
std::vector< uint16_t > & | arr | ||
) |
Definition at line 346 of file BaseLoader.h.
References size.
Referenced by onert::loader::BaseLoader< LoaderDomain >::loadSparsity().
std::unique_ptr< ir::Model > onert::loader::loadCircleModel | ( | const std::string & | filename | ) |
Definition at line 285 of file CircleLoader.cc.
Referenced by nnfw_session::load_circle_from_buffer().
std::unique_ptr< ir::Model > onert::loader::loadCircleModel | ( | uint8_t * | buffer, |
size_t | size | ||
) |
Definition at line 293 of file CircleLoader.cc.
References size.
std::unique_ptr< ir::Model > onert::loader::loadModel | ( | const std::string & | filename, |
const std::string & | type | ||
) |
Create custom loader and load model from file.
[in] | filename | File path to load model from |
[in] | type | Type of model to load |
Definition at line 28 of file ModelLoader.cc.
std::unique_ptr< ir::Model > onert::loader::loadTFLiteModel | ( | const std::string & | filename | ) |
Definition at line 158 of file TFLiteLoader.cc.
std::unique_ptr< ir::train::TrainingInfo > onert::loader::loadTrainingInfo | ( | const uint8_t * | buffer, |
const size_t | size | ||
) |
Definition at line 113 of file TrainInfoLoader.cc.
References size.
const char *const onert::loader::TRAININFO_METADATA_NAME = "CIRCLE_TRAINING" |
Definition at line 27 of file TrainInfoLoader.cc.