| 502 | } |
| 503 | |
| 504 | uint64 HashSubgraphFunction(const FunctionDefLibrary& library, |
| 505 | const FunctionDef* f) { |
| 506 | std::vector<std::string> visited; |
| 507 | absl::flat_hash_map<std::string, uint64> cache; |
| 508 | return HashSubgraphFunctionImpl(library, f, &visited, &cache); |
| 509 | } |
| 510 | |
| 511 | uint64 HashSubgraph(const GraphDef& g, const NodeDef* node) { |
| 512 | std::vector<std::string> visited; |