MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / _PendingCount

Function _PendingCount

tensorflow/python/ops/gradients_impl.py:149–200  ·  view source on GitHub ↗

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

(graph, to_ops, from_ops, colocate_gradients_with_ops)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

gradientsFunction · 0.85

Calls 3

_MarkReachedOpsFunction · 0.85
extendMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected