code: def _get_autocast_dtypes() -> Sequence[torch.dtype]:
      if torch.cuda.is_bf16_supported():
          return [torch.half, torch.bfloat16]
      return [torch.half]
  
imports: from typing import Optional, Sequence
  import torch
label_desc: Use image node_id 1 for calling a global function with example usage: _get_autocast_dtypes() and returns: list, list