code: def reset_seed() -> None:
      r"""Reset the seed to the value that :func:`~lightning.fabric.utilities.seed.seed_everything` previously set.
  
      If :func:`~lightning.fabric.utilities.seed.seed_everything` is unused, this function will do nothing.
  
      """
      seed = os.environ.get("PL_GLOBAL_SEED", None)
      if seed is None:
          return
      workers = os.environ.get("PL_SEED_WORKERS", "0")
      seed_everything(int(seed), workers=bool(int(workers)))
  
file_path: pytorch-lightning/src/lightning/fabric/utilities/seed.py
imports: import logging
  import os
  import random
  from random import getstate
  from random import setstate
  from typing import Any, Dict, Optional
  import numpy
  import torch
  from lightning.fabric.utilities.rank_zero import _get_rank, rank_prefixed_message, rank_zero_only, rank_zero_warn
label_desc: Use image node_id 2 for calling a global function with example usage: reset_seed() without return types