code: def id_from_inputs(inputs):
      if not inputs:
          return "()"
      return ",".join(
          k + "".join(map(str, d.shape)) for k, d in inputs.items()
      )
  
imports: from collections import OrderedDict
  from functools import reduce
  import numpy
  import pytest
  import funsor.ops
  from funsor.cnf import Contraction
  from funsor.delta import Delta
  from funsor.domains import Bint, Real, Reals
  from funsor.gaussian import Gaussian
  from funsor.integrate import Integrate
  from funsor.montecarlo import MonteCarlo
  from funsor.tensor import Tensor, numeric_array
  from funsor.terms import Number, Unary, Variable, eager, moment_matching
  from funsor.testing import assert_close, randn, random_gaussian, random_tensor, xfail_if_not_implemented, zeros
  from funsor.util import get_backend
label_desc: Use image node_id 1 for calling a global function with example usage: id_from_inputs(inputs) and returns: str, str