51 auto tensor_registry_concreted =
52 nnfw::misc::polymorphic_downcast<basic::TensorRegistry *>(
tensor_registry.get());
59 ret.emplace(op_ind, std::move(fn_seq));
69 auto &fn_seq = it.second;
std::shared_ptr< ITensorRegistry > tensor_registry
const ContextData & data() const
const ir::Graph * graph() const
const util::Set< ir::OperandIndex > & external_operands() const
FunctionMap genKernels() override
ITensorRegistry * genTensors() override
std::shared_ptr< KernelGenerator > kernel_gen
std::shared_ptr< TensorBuilder > tensor_builder
void initSharedMemoryConsts(const ir::Operands &operands, const util::Set< ir::OperandIndex > &external_operands, TensorRegistry *tensor_registry, const ir::OperandIndexMap< ir::OperandIndex > &shared_memory_operands_map)
ITensorRegistry * genTensors(const std::shared_ptr< T_TensorBuilder > &tensor_builder, const ir::Graph &graph, const util::Set< ir::OperandIndex > &external_operands, const std::shared_ptr< ITensorRegistry > &tensor_registry, const std::vector< onert::ir::OperationIndex > &op_order, const ir::OperandIndexMap< ir::OperandIndex > &shared_memory_operand_idx)
void initConsts(const ir::Operands &operands, const util::Set< ir::OperandIndex > &external_operands, ITensorRegistry *tensor_registry, const ir::OperandIndexMap< ir::OperandIndex > &shared_memory_operands_map)
std::unordered_map< ir::OperationIndex, std::unique_ptr< exec::FunctionSequence > > FunctionMap
std::vector< onert::ir::OperationIndex > op_order
std::unique_ptr< ir::Graph > graph