class_docstr: Abstract decoder module.
class_docstr_tok: ["Abstract","decoder","module","."]
docstr: Initialize decoder states.
  
  Args:
      batch_size: Batch size.
  
  Returns:
      : Decoder hidden states.
docstr_tok: ["Initialize","decoder","states",".","Args",":","batch_size",":","Batch","size",".","Returns",":",":","Decoder","hidden","states","."]
code: def init_state(
      self, batch_size: int
  ) -> Union[
      List[Dict[str, torch.Tensor]],
      List[torch.Tensor],
      Tuple[torch.Tensor, Optional[torch.tensor]],
  ]:
      """Initialize decoder states.
  
      Args:
          batch_size: Batch size.
  
      Returns:
          : Decoder hidden states.
  
      """
      raise NotImplementedError
  
file_path: espnet/espnet2/asr_transducer/decoder/abs_decoder.py
imports: from abc import ABC, abstractmethod
  from typing import Any, Dict, List, Optional, Tuple, Union
  import torch
label_desc: Use image node_id 5 for calling the AbsDecoder obj's underlying member method code with example usage: obj.init_state(batch_size) without return types