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