class_docstr: Channel defines how to format and report the result of a PyText job to an output
  stream.
  
  Attributes:
      stages: in which stages the report will be triggered, default is all
          stages, which includes train, eval, test
class_docstr_tok: ["Channel","defines","how","to","format","and","report","the","result","of","a","PyText","job","to","an","output","stream",".","Attributes",":","stages",":","in","which","stages","the","report","will","be","triggered",",","default","is","all","stages",",","which","includes","train",",","eval",",","test"]
code: def export(self, model, input_to_model=None, **kwargs):
      pass
  
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 4 for calling the Channel obj's underlying member method code with example usage: obj.export(model, input_to_model) without return types