class_docstr: MT Interface for ESPnet model implementation.
class_docstr_tok: ["MT","Interface","for","ESPnet","model","implementation","."]
docstr: Translate x for evaluation.
  
  :param ndarray x: input acouctic feature (B, T, D) or (T, D)
  :param namespace trans_args: argment namespace contraining 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: ["Translate","x","for","evaluation",".",":","param","ndarray","x",":","input","acouctic","feature","(","B",",","T",",","D",")","or","(","T",",","D",")",":","param","namespace","trans_args",":","argment","namespace","contraining","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(self, x, trans_args, char_list=None, rnnlm=None):
      """Translate x for evaluation.
  
      :param ndarray x: input acouctic feature (B, T, D) or (T, D)
      :param namespace trans_args: argment namespace contraining 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("translate method is not implemented")
  
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 4 for calling the MTInterface obj's underlying member method code with example usage: obj.translate(x, trans_args, char_list, rnnlm) without return types