code: def _quote(x, indent, out):
      """
      Work around PyTorch not supporting reproducible repr.
      """
      if x.numel() >= quote.printoptions["threshold"]:
          data = (
              "..." + " x ".join(str(int(d)) for d in x.shape) + "..."
          )
      else:
          data = repr(x.tolist())
      out.append((indent, f"torch.tensor({data}, dtype={x.dtype})"))
  
file_path: funsor/funsor/torch/__init__.py
imports: from collections import OrderedDict
  import torch
  from multipledispatch import dispatch
  from funsor.constant import Constant
  from funsor.tensor import tensor_to_funsor
  from funsor.terms import to_data, to_funsor
  from funsor.torch.provenance import ProvenanceTensor
  from funsor.util import quote
  from .None import distributions
  from .None import ops
label_desc: Use image node_id 1 for calling a global function with example usage: _quote(x, indent, out) without return types