code: def get_plates() -> Tuple["CondIndepStackFrame", ...]:
      """
      Records the effects of enclosing ``pyro.plate`` contexts.
  
      :returns: A tuple of
          :class:`pyro.poutine.indep_messenger.CondIndepStackFrame` objects.
      :rtype: tuple
      """
      return _inspect()["cond_indep_stack"]
  
imports: import functools
  from typing import TYPE_CHECKING, Callable, Dict, Generic, List, Optional, Set, Tuple, TypeVar, Union, overload
  import torch
  from typing_extensions import Literal, ParamSpec, TypedDict
  from pyro.params.param_store import _MODULE_NAMESPACE_DIVIDER, ParamStoreDict
label_desc: Use image node_id 9 for calling a global function with example usage: get_plates() and returns: _inspect