class_docstr: MT Interface for ESPnet model implementation.
class_docstr_tok: ["MT","Interface","for","ESPnet","model","implementation","."]
docstr: Beam search implementation for batch.
  
  :param torch.Tensor x: encoder hidden state sequences (B, Tmax, Henc)
  :param namespace trans_args: argument namespace containing options
  :param list char_list: list of characters
  :param torch.nn.Module rnnlm: language model module
  :return: N-best decoding results
  :rtype: list
docstr_tok: ["Beam","search","implementation","for","batch",".",":","param","torch.Tensor","x",":","encoder","hidden","state","sequences","(","B",",","Tmax",",","Henc",")",":","param","namespace","trans_args",":","argument","namespace","containing","options",":","param","list","char_list",":","list","of","characters",":","param","torch.nn.Module","rnnlm",":","language","model","module",":","return",":","N-best","decoding","results",":","rtype",":","list"]
code: def translate_batch(self, x, trans_args, char_list=None, rnnlm=None):
      """Beam search implementation for batch.
  
      :param torch.Tensor x: encoder hidden state sequences (B, Tmax, Henc)
      :param namespace trans_args: argument namespace containing options
      :param list char_list: list of characters
      :param torch.nn.Module rnnlm: language model module
      :return: N-best decoding results
      :rtype: list
      """
      raise NotImplementedError("Batch decoding is not supported yet.")
  
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 5 for calling the MTInterface obj's underlying member method code with example usage: obj.translate_batch(x, trans_args, char_list, rnnlm) without return types