opennmt/models/model.py
def update_metrics(self, metrics, predictions, labels):
        """Computes additional metrics on the predictions.

        Args:
          metrics: A dictionary of metrics to update.
          predictions: The model predictions.
          labels: The dict of labels ``tf.Tensor``.
        """
        return
Computes additional metrics on the predictions.

        Args:
          metrics: A dictionary of metrics to update.
          predictions: The model predictions.
          labels: The dict of labels ``tf.Tensor``.
        
Computes additional metrics on the predictions.
Computes additional metrics on the predictions .
def update_metrics(self, metrics, predictions, labels):
        return
def update_metrics ( self , metrics , predictions , labels ) : return
Computes additional metrics on the predictions.
Computes additional metrics on the predictions .
"""Computes additional metrics on the predictions.

        Args:
          metrics: A dictionary of metrics to update.
          predictions: The model predictions.
          labels: The dict of labels ``tf.Tensor``.
        """
self
metrics
A dictionary of metrics to update.
A dictionary of metrics to update .
predictions
The model predictions.
The model predictions .
labels
The dict of labels ``tf.Tensor``.
The dict of labels ` ` tf . Tensor ` ` .