class_docstr: Batch scorer interface.
class_docstr_tok: ["Batch","scorer","interface","."]
docstr: Get an initial state for decoding (optional).
  
  Args:
      x (torch.Tensor): The encoded feature tensor
  
  Returns: initial state
docstr_tok: ["Get","an","initial","state","for","decoding","(","optional",")",".","Args",":","x","(","torch.Tensor",")",":","The","encoded","feature","tensor","Returns",":","initial","state"]
code: def batch_init_state(self, x: torch.Tensor) -> Any:
      """Get an initial state for decoding (optional).
  
      Args:
          x (torch.Tensor): The encoded feature tensor
  
      Returns: initial state
  
      """
      return self.init_state(x)
  
file_path: espnet/espnet/nets/scorer_interface.py
imports: import warnings
  from typing import Any, List, Tuple
  import torch
label_desc: Use image node_id 1 for calling the BatchScorerInterface obj's underlying member method code with example usage: obj.batch_init_state(x) and returns: self