class_docstr: Simple Channel that prints results to console.
class_docstr_tok: ["Simple","Channel","that","prints","results","to","console","."]
code: def report(
      self,
      stage,
      epoch,
      metrics,
      model_select_metric,
      loss,
      preds,
      targets,
      scores,
      context,
      *args,
  ):
      print(f"\n\n{stage}")
      print(f"Epoch:{epoch}")
      self._print_loss(loss)
      # TODO change print_metrics function to __str__ T33522209
      if hasattr(metrics, "print_metrics"):
          metrics.print_metrics()
      else:
          print(metrics)
  
imports: import csv
  import sys
  import traceback
  from typing import Tuple
  import numpy
  import torch
  from numpy import linalg
  from pytext.common.constants import Stage
  from pytext.utils.file_io import PathManager
  from torch.utils.tensorboard import SummaryWriter
label_desc: Use image node_id 2 for calling the ConsoleChannel obj's underlying member method code with example usage: obj.report(stage, epoch, metrics, model_select_metric, loss, preds, targets, scores, context) without return types