code: def detach_provenance(x):
      """
      Blocks provenance tracking through a tensor, similar to :meth:`torch.Tensor.detach`.
  
      :param torch.Tensor tensor: An input tensor.
      :returns: A tensor sharing the same data but with no provenance.
      :rtype: torch.Tensor
      """
      value, _ = extract_provenance(x)
      return value
  
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 10 for calling a global function with example usage: detach_provenance(x) and returns: value