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