ONE - On-device Neural Engine
|
#include <KernelBuilder.h>
Public Member Functions | |
KernelBuilder (const std::unordered_map< const loco::Graph *, RuntimeGraph * > &graph_to_runtime_graph, const std::unordered_map< const loco::Node *, Tensor * > &node_to_tensor) | |
~KernelBuilder () | |
std::unique_ptr< Kernel > | build (const luci::CircleNode *node) |
Public Member Functions inherited from luci_interpreter::KernelBuilderHelper | |
KernelBuilderHelper (const std::unordered_map< const loco::Graph *, RuntimeGraph * > &graph_to_runtime_graph, const std::unordered_map< const loco::Node *, Tensor * > &node_to_tensor) | |
const Tensor * | getInputTensor (const loco::Node *node) const |
const Tensor * | getOptionalInputTensor (const loco::Node *node) const |
Tensor * | getOutputTensor (const loco::Node *node) const |
std::vector< Tensor * > | getOutputTensors (const std::vector< const loco::Node * > &nodes) const |
RuntimeGraph * | getRuntimeGraph (const loco::Graph *graph) const |
const std::unordered_map< const loco::Graph *, RuntimeGraph * > & | graph_to_runtime_graph () const |
const std::unordered_map< const loco::Node *, Tensor * > & | node_to_tensor () const |
Definition at line 35 of file KernelBuilder.h.
luci_interpreter::KernelBuilder::KernelBuilder | ( | const std::unordered_map< const loco::Graph *, RuntimeGraph * > & | graph_to_runtime_graph, |
const std::unordered_map< const loco::Node *, Tensor * > & | node_to_tensor | ||
) |
Definition at line 107 of file KernelBuilder.cpp.
luci_interpreter::KernelBuilder::~KernelBuilder | ( | ) |
Definition at line 115 of file KernelBuilder.cpp.
std::unique_ptr< Kernel > luci_interpreter::KernelBuilder::build | ( | const luci::CircleNode * | node | ) |
Definition at line 121 of file KernelBuilder.cpp.
References luci::CircleNode::name(), and luci::CircleNode::opcode().
Referenced by luci_interpreter::GraphLoader::loadOperators().