class_docstr: A chainer reporter wrapper.
class_docstr_tok: ["A","chainer","reporter","wrapper","."]
docstr: Report at every step.
code: def report(
      self,
      loss_asr,
      loss_mt,
      loss_st,
      acc_asr,
      acc_mt,
      acc,
      cer_ctc,
      cer,
      wer,
      bleu,
      mtl_loss,
  ):
      """Report at every step."""
      reporter.report({"loss_asr": loss_asr}, self)
      reporter.report({"loss_mt": loss_mt}, self)
      reporter.report({"loss_st": loss_st}, self)
      reporter.report({"acc_asr": acc_asr}, self)
      reporter.report({"acc_mt": acc_mt}, self)
      reporter.report({"acc": acc}, self)
      reporter.report({"cer_ctc": cer_ctc}, self)
      reporter.report({"cer": cer}, self)
      reporter.report({"wer": wer}, self)
      reporter.report({"bleu": bleu}, self)
      logging.info("mtl loss:" + str(mtl_loss))
      reporter.report({"loss": mtl_loss}, self)
  
imports: import argparse
  import copy
  import logging
  import math
  import os
  from itertools import groupby
  import chainer
  import nltk
  import numpy
  import torch
  from chainer import reporter
  from espnet.nets.e2e_asr_common import label_smoothing_dist
  from espnet.nets.pytorch_backend.ctc import CTC
  from espnet.nets.pytorch_backend.initialization import lecun_normal_init_parameters, set_forget_bias_to_one
  from espnet.nets.pytorch_backend.nets_utils import get_subsample, pad_list, to_device, to_torch_tensor
  from espnet.nets.pytorch_backend.rnn.argument import add_arguments_rnn_attention_common, add_arguments_rnn_decoder_common, add_arguments_rnn_encoder_common
  from espnet.nets.pytorch_backend.rnn.attentions import att_for
  from espnet.nets.pytorch_backend.rnn.decoders import decoder_for
  from espnet.nets.pytorch_backend.rnn.encoders import encoder_for
  from espnet.nets.st_interface import STInterface
  from espnet.utils.fill_missing_args import fill_missing_args
label_desc: Use image node_id 1 for calling the Reporter obj's underlying member method code with example usage: obj.report(loss_asr, loss_mt, loss_st, acc_asr, acc_mt, acc, cer_ctc, cer, wer, bleu, mtl_loss) without return types