MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Place

Method Place

tensorflow/core/common_runtime/placer_test.cc:244–249  ·  view source on GitHub ↗

Invokes the Placer on "graph". If no DeviceSet is specified, the placement will use the default DeviceSet (of 10 CPU and 10 GPU devices). REQUIRES: "*graph" was produced by the most recent call to BuildGraph.

Source from the content-addressed store, hash-verified

242 //
243 // REQUIRES: "*graph" was produced by the most recent call to BuildGraph.
244 Status Place(Graph* graph, DeviceSet* devices, Device* default_local_device,
245 bool allow_soft_placement, bool log_device_placement) {
246 Placer placer(graph, "", &graph->flib_def(), devices, default_local_device,
247 allow_soft_placement, log_device_placement);
248 return placer.Run();
249 }
250
251 Status CallOptPassesAndPlace(Graph* graph, DeviceSet* devices,
252 bool allow_soft_placement,

Callers

nothing calls this directly

Calls 1

RunMethod · 0.45

Tested by

no test coverage detected