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

Function _StopOps

tensorflow/tensorflow/python/ops/gradients_util.py:268–299  ·  view source on GitHub ↗

The set of ops that terminate the gradient computation. This computes the frontier of the forward graph *before* which backprop should stop. Operations in the returned set will not be differentiated. This set is defined as the subset of `from_ops` containing ops that have no predecessor in

(from_ops, stop_gradient_ops, pending_count, xs_set)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_GradientsHelperFunction · 0.85

Calls 3

_NonEagerInputsFunction · 0.85
addMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected