ONE - On-device Neural Engine
|
#include <KernelGenerator.h>
Public Member Functions | |
KernelGenerator (const ir::Graph &graph, DynamicTensorManager *dyn_tensor_manager, const std::shared_ptr< TensorRegistry > &tensor_reg, const std::shared_ptr< ExternalContext > &external_context) | |
void | setTensorRegistries (const compiler::TensorRegistries &tensor_registries) |
void | setExecutors (const std::shared_ptr< exec::IExecutors > &executors) |
void | setModelIndex (const ir::ModelIndex &index) |
std::unique_ptr< exec::FunctionSequence > | generate (ir::OperationIndex ind) override |
Public Member Functions inherited from onert::backend::basic::KernelGeneratorBase | |
virtual | ~KernelGeneratorBase ()=default |
KernelGeneratorBase (const ir::Graph &graph) | |
Public Member Functions inherited from onert::ir::OperationVisitor | |
virtual | ~OperationVisitor ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from onert::backend::basic::KernelGeneratorBase | |
std::unique_ptr< exec::IFunction > | releaseFunction () |
Protected Attributes inherited from onert::backend::basic::KernelGeneratorBase | |
const ir::Graph & | _graph |
std::unique_ptr< exec::IFunction > | _return_fn |
Definition at line 36 of file KernelGenerator.h.
onert::backend::builtin::KernelGenerator::KernelGenerator | ( | const ir::Graph & | graph, |
DynamicTensorManager * | dyn_tensor_manager, | ||
const std::shared_ptr< TensorRegistry > & | tensor_reg, | ||
const std::shared_ptr< ExternalContext > & | external_context | ||
) |
Definition at line 32 of file KernelGenerator.cc.
|
overridevirtual |
Implements onert::backend::basic::KernelGeneratorBase.
Definition at line 42 of file KernelGenerator.cc.
References onert::backend::basic::KernelGeneratorBase::_graph, onert::backend::basic::KernelGeneratorBase::_return_fn, onert::util::ObjectManager< Index, Object >::at(), and onert::ir::Graph::operations().
|
inline |
Definition at line 47 of file KernelGenerator.h.
|
inline |
Definition at line 53 of file KernelGenerator.h.
|
inline |
Definition at line 43 of file KernelGenerator.h.