class_docstr: This :class:`Metric` breaks with the typical ``Metric`` API and just stores values that were
  computed in some fashion outside of a ``Metric``.  If you have some external code that computes
  the metric for you, for instance, you can use this to report the average result using our
  ``Metric`` API.
docstr: Parameters
  ----------
  value : ``float``
      The value to average.
code: def __call__(self, value):
      """
      Parameters
      ----------
      value : ``float``
          The value to average.
      """
      self._total_value += list(self.unwrap_to_tensors(value))[0]
      self._count += 1
  
file_path: magnitude/pymagnitude/third_party/allennlp/training/metrics/average.py
imports: from __future__ import division
  from __future__ import absolute_import
  from allennlp.training.metrics.metric import Metric
label_desc: Use image node_id 2 for calling the Average obj's underlying member method code with example usage: obj.__call__(value) without return types