code: def check_equivalent(x, y):
      x_vs, y_vs = vspace(x), vspace(y)
      assert x_vs == y_vs, "VSpace mismatch:\nx: {}\ny: {}".format(
          x_vs, y_vs
      )
      v = x_vs.randn()
      assert scalar_close(
          x_vs.inner_prod(x, v), x_vs.inner_prod(y, v)
      ), "Value mismatch:\nx: {}\ny: {}".format(x, y)
  
file_path: autograd/autograd/test_util.py
imports: from functools import partial
  from itertools import product
  from .core import make_vjp, make_jvp, vspace
  from .util import subvals
  from .wrap_util import unary_to_nary, get_name
label_desc: Use image node_id 5 for calling a global function with example usage: check_equivalent(x, y) without return types