class_docstr: Wraps a python metric as a TF metric.
class_docstr_tok: ["Wraps","a","python","metric","as","a","TF","metric","."]
code: def reset(self):
      def _reset():
          with _check_not_called_concurrently(self._lock):
              return self._py_metric.reset()
  
      return tf.py_function(_reset, [], [], name="metric_reset_py_func")
  
file_path: agents/tf_agents/metrics/tf_py_metric.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import contextlib
  import threading
  import tensorflow
  from tf_agents.metrics import tf_metric
label_desc: Use image node_id 4 for calling the TFPyMetric obj's underlying member method code with example usage: obj.reset() and returns: tf, self