code: def get_floating_dtype(A):
      """Return the floating point dtype of tensor A.
  
      Integer types map to float32.
      """
      dtype = A.dtype
      if dtype in (torch.float16, torch.float32, torch.float64):
          return dtype
      return torch.float32
  
file_path: pytorch/torch/_linalg_utils.py
imports: from typing import Optional, Tuple
  import torch
  from torch import Tensor
label_desc: Use image node_id 2 for calling a global function with example usage: get_floating_dtype(A) and returns: torch, dtype