code: def from_config(cls, config, tensorizers):
      return MyTaggingMetricReporter(
          channels=[ConsoleChannel(), TensorBoardChannel()],
          label_names=tensorizers["slots"].vocab,
      )
  
file_path: pytext/demo/my_tagging/metric.py
imports: import itertools
  from pytext.metric_reporters.channel import ConsoleChannel, TensorBoardChannel
  from pytext.metric_reporters.metric_reporter import MetricReporter
  from pytext.metrics import compute_classification_metrics, LabelPrediction
label_desc: Use image node_id 2 for calling the MyTaggingMetricReporter obj's underlying member method code with example usage: obj.from_config(cls, config, tensorizers) and returns: MyTaggingMetricReporter