45 auto custom_kernel_builder = data.custom_kernel_builder;
46 auto &graph = *data.graph;
47 auto context = std::make_unique<BackendContext>(
this, std::move(data));
48 auto tr = std::make_shared<basic::TensorRegistry>();
50 context->tensor_registry = tr;
51 context->tensor_builder = tb;
52 context->kernel_gen = std::make_shared<KernelGenerator>(graph, tb, tr, custom_kernel_builder,
53 context->external_context());