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

Function EqualGraphDef

tensorflow/core/util/equal_graph_def.cc:32–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30namespace tensorflow {
31
32bool EqualGraphDef(const GraphDef& actual, const GraphDef& expected,
33 string* diff, const EqualGraphDefOptions& options) {
34 // Intentionally do not check that versions match so that this routine can
35 // be used for less brittle golden file tests.
36 return EqualRepeatedNodeDef(actual.node(), expected.node(), diff, options);
37}
38
39uint64 GraphDefHash(const GraphDef& gdef, const EqualGraphDefOptions& options) {
40 return RepeatedNodeDefHash(gdef.node(), options);

Callers 5

EqualGraphDefWrapperFunction · 0.85
RunPassAndCompareFunction · 0.85
MatchMethod · 0.85

Calls 2

EqualRepeatedNodeDefFunction · 0.85
nodeMethod · 0.45

Tested by 3

RunPassAndCompareFunction · 0.68
MatchMethod · 0.68