class_docstr: Decoder interface for Transducer models.
docstr: Create decoder hidden states.
  
  Args:
      batch_states: Batch of decoder states
      l_states: List of decoder states
      l_tokens: List of token sequences for input batch
  
  Returns:
      batch_states: Batch of decoder states
code: def create_batch_states(
      self,
      states: Union[
          Tuple[torch.Tensor, Optional[torch.Tensor]],
          List[Optional[torch.Tensor]],
      ],
      new_states: List[
          Union[
              Tuple[torch.Tensor, Optional[torch.Tensor]],
              List[Optional[torch.Tensor]],
          ]
      ],
      l_tokens: List[List[int]],
  ) -> Union[
      Tuple[torch.Tensor, Optional[torch.Tensor]],
      List[Optional[torch.Tensor]],
  ]:
      """Create decoder hidden states.
  
      Args:
          batch_states: Batch of decoder states
          l_states: List of decoder states
          l_tokens: List of token sequences for input batch
  
      Returns:
          batch_states: Batch of decoder states
  
      """
      raise NotImplementedError(
          "create_batch_states(...) is not implemented"
      )
  
file_path: espnet/espnet/nets/transducer_decoder_interface.py
imports: from dataclasses import dataclass
  from typing import Any, Dict, List, Optional, Tuple, Union
  import torch
label_desc: Use image node_id 5 for calling the TransducerDecoderInterface obj's underlying member method code with example usage: obj.create_batch_states(states, new_states, l_tokens) without return types