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

Method PredicateMapAsString

tensorflow/compiler/jit/deadness_analysis.cc:1583–1591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1581}
1582
1583absl::flat_hash_map<TensorId, string, TensorId::Hasher>
1584DeadnessAnalysisImpl::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
1593namespace deadness_analysis_internal {
1594Status ComputePredicates(const Graph& graph, PredicateMapTy* out_predicate_map,

Callers 1

ComputePredicatesFunction · 0.80

Calls 2

insertMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected