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

Function ConvertGraphDefToGraph

tensorflow/core/graph/graph_constructor.cc:1431–1438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1429} // namespace
1430
1431Status ConvertGraphDefToGraph(const GraphConstructorOptions& opts,
1432 const GraphDef& gdef, Graph* g) {
1433 ShapeRefiner refiner(gdef.versions().producer(), g->op_registry());
1434 return GraphConstructor::Construct(
1435 opts, gdef.node(), &gdef.versions(), &gdef.library(), g, &refiner,
1436 /*return_tensors=*/nullptr, /*return_nodes=*/nullptr,
1437 /*missing_unused_input_map_keys=*/nullptr);
1438}
1439
1440Status ConvertGraphDefToGraph(const GraphConstructorOptions& opts,
1441 GraphDef&& gdef, Graph* g) {

Callers 15

GraphOptimizerMethod · 0.85
RunMethod · 0.85
RemoveBackedgesMethod · 0.85
ConvertMethod · 0.85
ConvertSignatureMethod · 0.85
ConvertGraphdefToMlirFunction · 0.85
AnalyzeAndVerifyFunction · 0.85
InitGraphFunction · 0.85

Calls 4

versionsMethod · 0.45
op_registryMethod · 0.45
nodeMethod · 0.45
libraryMethod · 0.45

Tested by 15

AnalyzeAndVerifyFunction · 0.68
EncapsulateFunction · 0.68
EncapsulateFunction · 0.68
SummarizeClusteringFunction · 0.68
TESTFunction · 0.68
BuildGraphMethod · 0.68
RunPassFunction · 0.68
BM_ConvFloatFunction · 0.68
BM_ConvFloatDepthwiseFunction · 0.68