MCPcopy Create free account
hub / github.com/alibaba/nann / _PendingCount

Function _PendingCount

tensorflow/tensorflow/python/ops/gradients_util.py:71–132  ·  view source on GitHub ↗

Initialize the pending count for ops between two lists of Operations. 'pending_count[op]' indicates the number of backprop inputs to this operation. Args: to_ops: list of Operations. from_ops: list of Operations. colocate_gradients_with_ops: Python bool. See docstring of gradien

(to_ops, from_ops, colocate_gradients_with_ops, func_graphs,
                  xs_set)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_GradientsHelperFunction · 0.85

Calls 6

_MarkReachedOpsFunction · 0.85
_NonEagerInputsFunction · 0.85
extendMethod · 0.45
addMethod · 0.45
appendMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected