docstr: The collection of hyperparameters saved with :meth:`save_hyperparameters`. These contents are read-only.
  Manual updates to the saved hyperparameters can instead be performed through :attr:`hparams`.
  
  Returns:
      AttributeDict: immutable initial hyperparameters
docstr_tok: ["The","collection","of","hyperparameters","saved","with",":","meth",":","`","save_hyperparameters","`",".","These","contents","are","read-only",".","Manual","updates","to","the","saved","hyperparameters","can","instead","be","performed","through",":","attr",":","`","hparams","`",".","Returns",":","AttributeDict",":","immutable","initial","hyperparameters"]
code: def hparams_initial(self) -> AttributeDict:
      """The collection of hyperparameters saved with :meth:`save_hyperparameters`. These contents are read-only.
      Manual updates to the saved hyperparameters can instead be performed through :attr:`hparams`.
  
      Returns:
          AttributeDict: immutable initial hyperparameters
  
      """
      if not hasattr(self, "_hparams_initial"):
          return AttributeDict()
      # prevent any change
      return copy.deepcopy(self._hparams_initial)
  
file_path: pytorch-lightning/src/lightning/pytorch/core/mixins/hparams_mixin.py
imports: import copy
  import inspect
  import types
  from argparse import Namespace
  from typing import Any, List, MutableMapping, Optional, Sequence, Union
  from lightning.fabric.utilities.data import AttributeDict
  from lightning.pytorch.utilities.parsing import save_hyperparameters
label_desc: Use image node_id 6 for calling the HyperparametersMixin obj's underlying member method code with example usage: obj.hparams_initial() and returns: copy, AttributeDict