class_docstr: Initialize `nn.Module` with empty tensors, i.e., uninitialized memory.
  
  Example::
  
      with _EmptyInit():
          model = BigModel()
      model.load_state_dict(torch.load("checkpoint.pt"))
code: def __init__(self, enabled: bool = True) -> None:
      if not _TORCH_GREATER_EQUAL_1_13:
          raise NotImplementedError(
              "Emtpy weight initialization requires PyTorch >= 1.13."
          )
      super().__init__()
      self.enabled = enabled
  
file_path: pytorch-lightning/src/lightning/fabric/utilities/init.py
imports: import itertools
  from typing import Any, Callable, Dict, Optional, Sequence
  import torch
  from typing_extensions import override
  from lightning.fabric.utilities.imports import _TORCH_GREATER_EQUAL_1_13, _TORCH_GREATER_EQUAL_2_1
  from lightning.fabric.utilities.types import _DEVICE
label_desc: Use image node_id 1 to create a new _EmptyInit object from inherited base classes: TorchFunctionMode with example: obj = _EmptyInit(enabled)