ONE - On-device Neural Engine
|
#include <KernelGenerator.h>
Public Member Functions | |
KernelGenerator (const ir::Graph &graph, const std::shared_ptr< TensorBuilder > &tensor_builder, const std::shared_ptr< basic::TensorRegistry > &tensor_reg, const std::shared_ptr< DevContext > &dev_context) | |
std::unique_ptr< exec::FunctionSequence > | generate (ir::OperationIndex op_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::trix::KernelGenerator::KernelGenerator | ( | const ir::Graph & | graph, |
const std::shared_ptr< TensorBuilder > & | tensor_builder, | ||
const std::shared_ptr< basic::TensorRegistry > & | tensor_reg, | ||
const std::shared_ptr< DevContext > & | dev_context | ||
) |
Definition at line 37 of file KernelGenerator.cc.
|
overridevirtual |
Implements onert::backend::basic::KernelGeneratorBase.
Definition at line 47 of file KernelGenerator.cc.
References onert::backend::basic::KernelGeneratorBase::_graph, onert::util::ObjectManager< Index, Object >::at(), onert::ir::Graph::operations(), and onert::backend::basic::KernelGeneratorBase::releaseFunction().