class_docstr: (RNN-)Transducer decoder module.
  
  Args:
      vocab_size: Output dimension.
      layers_type: (RNN-)Decoder layers type.
      num_layers: Number of decoder layers.
      hidden_size: Number of decoder units per layer.
      dropout: Dropout rate for decoder layers.
      dropout_embed: Dropout rate for embedding layer.
      embed_pad: Embed/Blank symbol ID.
docstr: Set GPU device to use.
  
  Args:
      device: Device ID.
docstr_tok: ["Set","GPU","device","to","use",".","Args",":","device",":","Device","ID","."]
code: def set_device(self, device: torch.device):
      """Set GPU device to use.
  
      Args:
          device: Device ID.
  
      """
      self.device = device
  
file_path: espnet/espnet2/asr/decoder/transducer_decoder.py
imports: from typing import Any, Dict, List, Optional, Tuple, Union
  import torch
  from typeguard import check_argument_types
  from espnet2.asr.decoder.abs_decoder import AbsDecoder
  from espnet2.asr.transducer.beam_search_transducer import ExtendedHypothesis, Hypothesis
label_desc: Use image node_id 2 for calling the TransducerDecoder obj's underlying member method code with example usage: obj.set_device(device) without return types