class_docstr: MT Interface for ESPnet model implementation.
class_docstr_tok: ["MT","Interface","for","ESPnet","model","implementation","."]
docstr: Initialize this class with python-level args.
  
  Args:
      idim (int): The number of an input feature dim.
      odim (int): The number of output vocab.
  
  Returns:
      ASRinterface: A new instance of ASRInterface.
docstr_tok: ["Initialize","this","class","with","python-level","args",".","Args",":","idim","(","int",")",":","The","number","of","an","input","feature","dim",".","odim","(","int",")",":","The","number","of","output","vocab",".","Returns",":","ASRinterface",":","A","new","instance","of","ASRInterface","."]
code: def build(cls, idim: int, odim: int, **kwargs):
      """Initialize this class with python-level args.
  
      Args:
          idim (int): The number of an input feature dim.
          odim (int): The number of output vocab.
  
      Returns:
          ASRinterface: A new instance of ASRInterface.
  
      """
  
      def wrap(parser):
          return get_parser(parser, required=False)
  
      args = argparse.Namespace(**kwargs)
      args = fill_missing_args(args, wrap)
      args = fill_missing_args(args, cls.add_arguments)
      return cls(idim, odim, args)
  
file_path: espnet/espnet/nets/mt_interface.py
imports: import argparse
  from espnet.bin.asr_train import get_parser
  from espnet.utils.fill_missing_args import fill_missing_args
label_desc: Use image node_id 2 for calling the MTInterface obj's underlying member method code with example usage: obj.build(cls, idim, odim) and returns: cls, get_parser