class_docstr: Abstract decoder module.
class_docstr_tok: ["Abstract","decoder","module","."]
docstr: Create batch of decoder hidden states given a list of new states.
  
  Args:
      new_states: Decoder hidden states.
  
  Returns:
      : Decoder hidden states.
docstr_tok: ["Create","batch","of","decoder","hidden","states","given","a","list","of","new","states",".","Args",":","new_states",":","Decoder","hidden","states",".","Returns",":",":","Decoder","hidden","states","."]
code: def create_batch_states(
      self,
      new_states: List[
          Union[
              List[Dict[str, Optional[torch.Tensor]]],
              List[List[torch.Tensor]],
              Tuple[torch.Tensor, Optional[torch.Tensor]],
          ],
      ],
  ) -> Union[
      List[Dict[str, torch.Tensor]],
      List[torch.Tensor],
      Tuple[torch.Tensor, Optional[torch.Tensor]],
  ]:
      """Create batch of decoder hidden states given a list of new states.
  
      Args:
          new_states: Decoder hidden states.
  
      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 7 for calling the AbsDecoder obj's underlying member method code with example usage: obj.create_batch_states(new_states) without return types