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

Method ToGraph

tensorflow/cc/framework/scope.cc:317–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315}
316
317Status Scope::ToGraph(Graph* g, GraphConstructorOptions opts) const {
318 if (ok()) {
319 GraphDef graph_def;
320 graph()->ToGraphDef(&graph_def);
321 UpdateStatus(ConvertGraphDefToGraph(opts, std::move(graph_def), g));
322 }
323 return *impl()->status_;
324}
325
326void Scope::UpdateBuilder(NodeBuilder* builder) const {
327 std::vector<Node*> control_inputs;

Callers 15

TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TEST_FFunction · 0.80
BuildTestGraphFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
BuildCgmodeOpsFunction · 0.80

Calls 3

graphFunction · 0.85
ConvertGraphDefToGraphFunction · 0.85
ToGraphDefMethod · 0.45

Tested by 15

TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TEST_FFunction · 0.64
BuildTestGraphFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
BuildCgmodeOpsFunction · 0.64