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

Method ComputeGradients

lingvo/core/optimizer.py:69–72  ·  view source on GitHub ↗

Allows subclasses control computation of gradients.

(self, loss, vmap, *args, **kwargs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 12

FuncMethod · 0.80
_FpropBpropMethod · 0.80
_Apply1Method · 0.80
_Apply2Method · 0.80
LossAndGradientsMethod · 0.80
testAccumulatorMethod · 0.80
_FuncMethod · 0.80
testRematerializeMethod · 0.80
testGradientMultMethod · 0.80

Calls

no outgoing calls

Tested by 11

FuncMethod · 0.64
_FpropBpropMethod · 0.64
_Apply1Method · 0.64
_Apply2Method · 0.64
testAccumulatorMethod · 0.64
_FuncMethod · 0.64
testRematerializeMethod · 0.64
testGradientMultMethod · 0.64