code: def extract_provenance(x) -> Tuple[object, frozenset]:
      """
      Extracts the provenance of a data structure possibly containing
      :class:`torch.Tensor` s as leaves, and separates into a detached object and
      provenance.
  
      :param x: An input data structure.
      :returns: a tuple ``(detached_value, provenance)``
      :rtype: tuple
      """
      return x, frozenset()
  
file_path: pyro/pyro/ops/provenance.py
imports: from functools import partial, singledispatch
  from typing import Tuple
  import torch
  from torch.utils._pytree import tree_flatten, tree_map, tree_unflatten
label_desc: Use image node_id 5 for calling a global function with example usage: extract_provenance(x) and returns: x,  frozenset