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

Method ComputeLoss

lingvo/core/base_model.py:486–503  ·  view source on GitHub ↗

Computes loss and other metrics for the given predictions. Args: theta: A `.NestedMap` object containing variable values of this task. predictions: The output of `ComputePredictions`. input_batch: A `.NestedMap` object containing input tensors to this tower. Returns:

(self, theta, predictions, input_batch)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

FPropTowerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected