code: def __init__(self, *args, **kwargs) -> None:
      super().__init__(*args, **kwargs)
      self.module = SubModule()
  
file_path: pytorch-lightning/tests/tests_pytorch/utilities/test_dtype_device_mixin.py
imports: import torch.nn
  from lightning.fabric.utilities.device_dtype_mixin import _DeviceDtypeModuleMixin
  from lightning.pytorch import Callback, Trainer
  from lightning.pytorch.demos.boring_classes import BoringModel
  from tests_pytorch.helpers.runif import RunIf
label_desc: Use image node_id 1 to create a new TopModule object from inherited base classes: BoringModel with example: obj = TopModule()