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

Function _StopOps

tensorflow/python/ops/gradients_impl.py:302–332  ·  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)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

gradientsFunction · 0.85

Calls 2

addMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected