ONE - On-device Neural Engine
|
#include <OMInterpreter.h>
Public Member Functions | |
OMInterpreter ()=default | |
OMInterpreter (const OMInterpreter &)=delete | |
OMInterpreter (OMInterpreter &&)=delete | |
OMInterpreter & | operator= (const OMInterpreter &)=delete |
OMInterpreter && | operator= (const OMInterpreter &&)=delete |
~OMInterpreter ()=default | |
OMStatus | importModel (const char *model_ptr, const OMConfig &config) |
OMStatus | run (const OMConfig &config) |
OMStatus | reset () |
uint32_t | getNumberOfInputs () |
uint32_t | getNumberOfOutputs () |
OMStatus | allocateInputs () |
uint32_t | getInputSizeAt (uint32_t position) |
uint32_t | getOutputSizeAt (uint32_t position) |
void * | getInputDataAt (uint32_t position) |
void * | getOutputDataAt (uint32_t position) |
Definition at line 28 of file OMInterpreter.h.
|
default |
|
delete |
|
delete |
|
default |
OMStatus OMInterpreter::allocateInputs | ( | ) |
Definition at line 58 of file OMInterpreter.cpp.
References onert_micro::core::OMRuntimeModule::allocateInputs().
void * OMInterpreter::getInputDataAt | ( | uint32_t | position | ) |
Definition at line 38 of file OMInterpreter.cpp.
References onert_micro::core::OMRuntimeModule::getInputDataAt().
uint32_t OMInterpreter::getInputSizeAt | ( | uint32_t | position | ) |
Definition at line 48 of file OMInterpreter.cpp.
References onert_micro::core::OMRuntimeModule::getInputSizeAt().
uint32_t OMInterpreter::getNumberOfInputs | ( | ) |
Definition at line 34 of file OMInterpreter.cpp.
References onert_micro::core::OMRuntimeModule::getNumberOfInputs().
uint32_t OMInterpreter::getNumberOfOutputs | ( | ) |
Definition at line 36 of file OMInterpreter.cpp.
References onert_micro::core::OMRuntimeModule::getNumberOfOutputs().
void * OMInterpreter::getOutputDataAt | ( | uint32_t | position | ) |
Definition at line 43 of file OMInterpreter.cpp.
References onert_micro::core::OMRuntimeModule::getOutputDataAt().
uint32_t OMInterpreter::getOutputSizeAt | ( | uint32_t | position | ) |
Definition at line 53 of file OMInterpreter.cpp.
References onert_micro::core::OMRuntimeModule::getOutputSizeAt().
Definition at line 21 of file OMInterpreter.cpp.
References onert_micro::core::OMRuntimeModule::importModel(), and onert_micro::UnknownError.
|
delete |
|
delete |
OMStatus OMInterpreter::reset | ( | ) |
Definition at line 32 of file OMInterpreter.cpp.
References onert_micro::core::OMRuntimeModule::reset().
Definition at line 30 of file OMInterpreter.cpp.
References onert_micro::core::OMRuntimeModule::run().
Referenced by package.infer.session::inference().