No public description
PiperOrigin-RevId: 572628807
This commit is contained in:
parent
84f6959f9d
commit
4b8fd3b2d0
|
@ -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();
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue
Block a user