class_docstr: Defines the interface for metrics.
docstr: Method to update the metric contents.
  
  To change the behavior of this function, override the call method.
  
  Different subclasses might use this differently. For instance, the
  PyStepMetric takes in a trajectory, while the CounterMetric takes no
  parameters.
  
  Args:
    *args: See call method of subclass for specific arguments.
docstr_tok: ["Method","to","update","the","metric","contents",".","To","change","the","behavior","of","this","function",",","override","the","call","method",".","Different","subclasses","might","use","this","differently",".","For","instance",",","the","PyStepMetric","takes","in","a","trajectory",",","while","the","CounterMetric","takes","no","parameters",".","Args",":","*","args",":","See","call","method","of","subclass","for","specific","arguments","."]
code: def __call__(self, *args):
      """Method to update the metric contents.
  
      To change the behavior of this function, override the call method.
  
      Different subclasses might use this differently. For instance, the
      PyStepMetric takes in a trajectory, while the CounterMetric takes no
      parameters.
  
      Args:
        *args: See call method of subclass for specific arguments.
      """
      self.call(*args)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import abc
  from typing import Any, Optional, Sequence, Text, Union
  from absl import logging
  import numpy
  import six
  import tensorflow
  from tf_agents.metrics import tf_metric
  from tf_agents.trajectories import trajectory
  from tf_agents.typing import types
  from tf_agents.utils import common
label_desc: Use image node_id 10 for calling the PyMetric obj's underlying member method code with example usage: obj.__call__() without return types