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

Method LossAndGradients

lingvo/core/learner.py:295–312  ·  view source on GitHub ↗

Returns (loss, var_grads) computed from metrics[metric_name].

(metric_name)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

ComputeGradientsMethod · 0.80

Tested by

no test coverage detected