| 30 | namespace tensorflow { |
| 31 | |
| 32 | bool 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 | |
| 39 | uint64 GraphDefHash(const GraphDef& gdef, const EqualGraphDefOptions& options) { |
| 40 | return RepeatedNodeDefHash(gdef.node(), options); |