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);
55 std::shared_ptr<TensorBuilder> _tensor_builder;
56 std::shared_ptr<basic::TensorRegistry> _tensor_reg;
57 std::shared_ptr<backend::custom::IKernelBuilder> _kernel_builder;
58 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)