code: def default_dtypes():
      global _default_dtypes
      if _default_dtypes is None:
          import torch._dynamo.config as config
  
          _default_dtypes = DefaultDTypes(
              float_dtype=getattr(torch, config.numpy_default_float),
              complex_dtype=getattr(
                  torch, config.numpy_default_complex
              ),
              int_dtype=getattr(torch, config.numpy_default_int),
          )
          assert isinstance(_default_dtypes.float_dtype, torch.dtype)
          assert isinstance(_default_dtypes.complex_dtype, torch.dtype)
          assert isinstance(_default_dtypes.int_dtype, torch.dtype)
      return _default_dtypes
  
file_path: pytorch/torch/_numpy/_dtypes_impl.py
imports: from collections import namedtuple
  import torch
  from .None import _casting_dicts
label_desc: Use image node_id 1 for calling a global function with example usage: default_dtypes() and returns: _default_dtypes