code: def manual_seed(seed: int) -> None:
      r"""Sets the seed for generating random numbers.
  
      Args:
          seed (int): The desired seed.
      """
      # the torch.mps.manual_seed() can be called from the global
      # torch.manual_seed() in torch/random.py. So we need to make
      # sure mps is available (otherwise we just return without
      # erroring out)
      if not torch._C._has_mps:
          return
      seed = int(seed)
      _get_default_mps_generator().manual_seed(seed)
  
file_path: pytorch/torch/mps/__init__.py
imports: import torch
  from ..None import Tensor
  from .None import profiler
  from .event import Event
label_desc: Use image node_id 5 for calling a global function with example usage: manual_seed(seed) without return types