class_docstr: ASR Interface for ESPnet model implementation.
class_docstr_tok: ["ASR","Interface","for","ESPnet","model","implementation","."]
docstr: Encode feature in `beam_search` (optional).
  
  Args:
      x (numpy.ndarray): input feature (T, D)
  Returns:
      torch.Tensor for pytorch, chainer.Variable for chainer:
          encoded feature (T, D)
docstr_tok: ["Encode","feature","in","`","beam_search","`","(","optional",")",".","Args",":","x","(","numpy.ndarray",")",":","input","feature","(","T",",","D",")","Returns",":","torch.Tensor","for","pytorch",",","chainer.Variable","for","chainer",":","encoded","feature","(","T",",","D",")"]
code: def encode(self, feat):
      """Encode feature in `beam_search` (optional).
  
      Args:
          x (numpy.ndarray): input feature (T, D)
      Returns:
          torch.Tensor for pytorch, chainer.Variable for chainer:
              encoded feature (T, D)
  
      """
      raise NotImplementedError("encode method is not implemented")
  
file_path: espnet/espnet/nets/asr_interface.py
imports: import argparse
  from espnet.bin.asr_train import get_parser
  from espnet.utils.dynamic_import import dynamic_import
  from espnet.utils.fill_missing_args import fill_missing_args
label_desc: Use image node_id 11 for calling the ASRInterface obj's underlying member method code with example usage: obj.encode(feat) without return types