40 auto &graph = *data.graph;
41 auto context = std::make_unique<BackendContext>(
this, std::move(data));
42 auto tr = std::make_shared<basic::TensorRegistry>();
43 auto tb = std::make_shared<TensorBuilder>(tr);
44 context->tensor_registry = tr;
45 context->tensor_builder = tb;
46 context->kernel_gen = std::make_shared<KernelGenerator>(graph, tb, tr, context->dev_context());