code: def empty_cache() -> None:
      r"""Releases all unoccupied cached memory currently held by the caching
      allocator so that those can be used in other GPU applications.
      """
      torch._C._mps_emptyCache()
  
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 7 for calling a global function with example usage: empty_cache() without return types