code: def _numpy_checker(x, y):
      """Checks if `x.data` and `y.data` have the same contents.
  
      Used in `DualLinker` to compare C version with Python version.
      """
      x, y = x[0], y[0]
      if (
          x.dtype != y.dtype
          or x.shape != y.shape
          or np.any(np.abs(x - y) > 1e-10)
      ):
          raise Exception(
              "Output mismatch.", {"performlinker": x, "clinker": y}
          )
  
imports: import os
  from copy import copy
  from itertools import combinations
  from tempfile import mkstemp
  import numpy
  import pytest
  import pytensor
  from pytensor import function, shared
  from pytensor.compile.mode import get_default_mode
  from pytensor.configdefaults import config
  from pytensor.graph.utils import MethodNotDefined
  from pytensor.misc.safe_asarray import _asarray
  from pytensor.tensor.type import TensorType, complex_dtypes, discrete_dtypes, float_dtypes
  from tests import unittest_tools
label_desc: Use image node_id 5 for calling a global function with example usage: _numpy_checker(x, y) without return types