MCPcopy Create free account
hub / github.com/tensorflow/lingvo / ComputeGradientsSimple

Function ComputeGradientsSimple

lingvo/core/py_utils.py:2910–2939  ·  view source on GitHub ↗

Compute gradients.

(loss_or_activations,
                           all_vars,
                           grad_aggregation_method,
                           colocate_gradients_with_ops,
                           gate_gradients,
                           activations_grad=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_ComputeGradientsTpuFunction · 0.85

Calls 2

IsEagerModeFunction · 0.85
gradientMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…