No public description

PiperOrigin-RevId: 572628807
This commit is contained in:
Sebastian Schmidt 2023-10-11 11:10:18 -07:00 committed by Copybara-Service
parent 84f6959f9d
commit 4b8fd3b2d0

View File

@ -112,11 +112,6 @@ void CalculatorGraphSubmodule(pybind11::module* module) {
"graph with a ValidatedGraphConfig object.");
}
auto calculator_graph = absl::make_unique<CalculatorGraph>();
// Disable default service initialization. This allows us to use
// the CPU versions of calculators that only optionally request
// kGpuService.
RaisePyErrorIfNotOk(
calculator_graph->DisallowServiceDefaultInitialization());
RaisePyErrorIfNotOk(calculator_graph->Initialize(graph_config_proto));
return calculator_graph.release();
}),