class_docstr: A plugin that serves PR curves for individual classes.
class_docstr_tok: ["A","plugin","that","serves","PR","curves","for","individual","classes","."]
docstr: Converts a TensorDatum into a dict that encapsulates information on
  it.
  
  Args:
    datum: The TensorDatum to convert.
  
  Returns:
    A JSON-able dictionary of PR curve data for 1 step.
docstr_tok: ["Converts","a","TensorDatum","into","a","dict","that","encapsulates","information","on","it",".","Args",":","datum",":","The","TensorDatum","to","convert",".","Returns",":","A","JSON-able","dictionary","of","PR","curve","data","for","1","step","."]
code: def _process_datum(self, datum):
      """Converts a TensorDatum into a dict that encapsulates information on
      it.
  
      Args:
        datum: The TensorDatum to convert.
  
      Returns:
        A JSON-able dictionary of PR curve data for 1 step.
      """
      return self._make_pr_entry(
          datum.step, datum.wall_time, datum.numpy
      )
  
file_path: tensorboard/tensorboard/plugins/pr_curve/pr_curves_plugin.py
imports: import numpy
  from werkzeug import wrappers
  from tensorboard import plugin_util
  from tensorboard.data import provider
  from tensorboard.backend import http_util
  from tensorboard.plugins import base_plugin
  from tensorboard.plugins.pr_curve import metadata
label_desc: Use image node_id 9 for calling the PrCurvesPlugin obj's underlying member method code with example usage: obj._process_datum(datum) and returns: self