| 1581 | } |
| 1582 | |
| 1583 | absl::flat_hash_map<TensorId, string, TensorId::Hasher> |
| 1584 | DeadnessAnalysisImpl::PredicateMapAsString() const { |
| 1585 | absl::flat_hash_map<TensorId, string, TensorId::Hasher> result; |
| 1586 | std::vector<TensorId> tensor_ids; |
| 1587 | for (const auto& kv_pair : predicate_map_) { |
| 1588 | CHECK(result.insert({kv_pair.first, kv_pair.second->ToString()}).second); |
| 1589 | } |
| 1590 | return result; |
| 1591 | } |
| 1592 | |
| 1593 | namespace deadness_analysis_internal { |
| 1594 | Status ComputePredicates(const Graph& graph, PredicateMapTy* out_predicate_map, |
no test coverage detected