ONE - On-device Neural Engine
|
#include <Runner.h>
Public Member Functions | |
Runner (const std::string &path) | |
~Runner (void) | |
void | prepareInputs (void) |
void | prepareOutputs (void) |
TensorSet & | inputs (void) |
TensorSet & | outputs (void) |
void | run (void) |
Runner (const Runner &)=delete | |
Runner & | operator= (const Runner &)=delete |
nnkit::support::onnx::Runner::Runner | ( | const std::string & | path | ) |
Definition at line 30 of file Runner.cpp.
References nnkit::support::onnx::Status::isError().
nnkit::support::onnx::Runner::~Runner | ( | void | ) |
Definition at line 41 of file Runner.cpp.
|
delete |
|
inline |
Definition at line 43 of file Runner.h.
Referenced by validate_onnx2circle.OnnxRunner::feed_random_inputs(), nnkit::support::onnx::Backend::prepare(), and package.infer.session::set_inputs().
|
inline |
Definition at line 44 of file Runner.h.
Referenced by validate_onnx2circle.OnnxRunner::get_outputs(), package.infer.session::inference(), package.infer.session::set_outputs(), and nnkit::support::onnx::Backend::teardown().
void nnkit::support::onnx::Runner::prepareInputs | ( | void | ) |
Definition at line 54 of file Runner.cpp.
References nnkit::support::onnx::Status::throwOnError().
Referenced by nnkit::support::onnx::Backend::prepare().
void nnkit::support::onnx::Runner::prepareOutputs | ( | void | ) |
Definition at line 106 of file Runner.cpp.
References nnkit::support::onnx::Status::throwOnError().
Referenced by nnkit::support::onnx::Backend::prepare().
void nnkit::support::onnx::Runner::run | ( | void | ) |
Definition at line 158 of file Runner.cpp.
References nnkit::support::onnx::Status::throwOnError().
Referenced by package.infer.session::inference(), and nnkit::support::onnx::Backend::run().