class_docstr: ST Interface for ESPnet model implementation.
  
  NOTE: This class is inherited from ASRInterface to enable joint translation
  and recognition when performing multi-task learning with the ASR task.
docstr: Recognize 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: ["Recognize","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,
      ensemble_models=[],
  ):
      """Recognize 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")
  
imports: from espnet.nets.asr_interface import ASRInterface
  from espnet.utils.dynamic_import import dynamic_import
label_desc: Use image node_id 1 for calling the STInterface obj's underlying member method code with example usage: obj.translate(x, trans_args, char_list, rnnlm, ensemble_models) without return types