class_docstr: Abstract class for the loss function.
class_docstr_tok: ["Abstract","class","for","the","loss","function","."]
docstr: Per-output loss metrics.
docstr_tok: ["Per-output","loss","metrics","."]
code: def metrics(self):
      """Per-output loss metrics."""
      return [self._loss_metric]
  
imports: import abc
  import logging
  import six
  import tensorflow
  from tensorflow.python.keras import metrics
  from tensorflow.python.keras.utils import losses_utils
  from tensorflow.python.ops import math_ops
label_desc: Use image node_id 2 for calling the Loss obj's underlying member method code with example usage: obj.metrics() and returns: list