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< custom::IKernelBuilder > &kernel_builder, const std::shared_ptr< ExternalContext > &external_context) | |
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 37 of file KernelGenerator.h.
onert::backend::ruy::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< custom::IKernelBuilder > & | kernel_builder, | ||
const std::shared_ptr< ExternalContext > & | external_context | ||
) |
|
overridevirtual |
Implements onert::backend::basic::KernelGeneratorBase.
Definition at line 38 of file KernelGenerator.cc.
References onert::backend::basic::KernelGeneratorBase::_graph, onert::backend::basic::KernelGeneratorBase::_return_fn, onert::util::ObjectManager< Index, Object >::at(), onert::ir::Graph::operations(), and onert::ir::UNDEFINED.