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

Method BuildGraph

tensorflow/core/common_runtime/placer_test.cc:227–231  ·  view source on GitHub ↗

Builds the given graph, and (if successful) indexes the node names for use in placement, and later lookup.

Source from the content-addressed store, hash-verified

225 // Builds the given graph, and (if successful) indexes the node
226 // names for use in placement, and later lookup.
227 Status BuildGraph(const GraphDefBuilder& builder, Graph* out_graph) {
228 TF_RETURN_IF_ERROR(GraphDefBuilderToGraph(builder, out_graph));
229 RebuildNodeNameMap(*out_graph);
230 return Status::OK();
231 }
232
233 Status BuildGraph(const GraphDef& graph_def, Graph* out_graph) {
234 GraphConstructorOptions opts;

Callers

nothing calls this directly

Calls 2

GraphDefBuilderToGraphFunction · 0.85
ConvertGraphDefToGraphFunction · 0.85

Tested by

no test coverage detected