code: def __init__(self) -> None:
      super().__init__()
      self._dtype: Union[str, torch.dtype] = torch.get_default_dtype()
      self._device = torch.device("cpu")
  
file_path: pytorch-lightning/src/lightning/fabric/utilities/device_dtype_mixin.py
imports: from typing import Any, List, Optional, Union
  import torch
  from torch.nn import Module
  from typing_extensions import Self, override
label_desc: Use image node_id 1 to create a new _DeviceDtypeModuleMixin object from inherited base classes: Module with example: obj = _DeviceDtypeModuleMixin()