41 const std::shared_ptr<basic::TensorRegistry> &tensor_reg,
42 const std::shared_ptr<custom::IKernelBuilder> &kernel_builder,
43 const std::shared_ptr<ExternalContext> &external_context);
105 std::shared_ptr<TensorBuilder> _tensor_builder;
106 std::shared_ptr<basic::TensorRegistry> _tensor_reg;
107 std::shared_ptr<backend::custom::IKernelBuilder> _kernel_builder;
108 const std::shared_ptr<ExternalContext> _external_context;
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)