| 509 | } |
| 510 | |
| 511 | uint64 HashSubgraph(const GraphDef& g, const NodeDef* node) { |
| 512 | std::vector<std::string> visited; |
| 513 | absl::flat_hash_map<std::string, uint64> cache; |
| 514 | return HashSubgraphImpl(grappler::GraphView(&g), node, &visited, &cache); |
| 515 | } |
| 516 | |
| 517 | |
| 518 | VariantTensorDataReader::VariantTensorDataReader( |