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

Function IncrementFaninCount

tensorflow/core/grappler/utils/graph_view.cc:438–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436const char kMutableGraphViewApplyError[] = "Mutation::Apply error: ";
437
438inline void IncrementFaninCount(
439 absl::flat_hash_map<internal::NodeDefAndPortIndex, int>* fanins_count,
440 const internal::NodeDefAndPortIndex& fanin) {
441 ++(*fanins_count)[fanin];
442}
443
444inline void DecrementFaninCount(
445 absl::flat_hash_map<internal::NodeDefAndPortIndex, int>* fanins_count,

Callers 5

AddFaninsInternalMethod · 0.85
ReplaceNodeFanoutsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected