code: def isclose(x, y, many=False):
      rtol = 1e-6
      atol = 0
      if many:
          return np.allclose(x, y, atol=atol, rtol=rtol)
      return np.isclose(x, y, atol=atol, rtol=rtol)
  
imports: import itertools
  import logging
  import unittest
  import numpy
  import torch
  from pytorch_metric_learning.distances import LpDistance
  from pytorch_metric_learning.utils import accuracy_calculator
  from pytorch_metric_learning.utils.common_functions import LOGGER
  from pytorch_metric_learning.utils.inference import CustomKNN, FaissKMeans, FaissKNN
  from ..None import TEST_DEVICE
label_desc: Use image node_id 1 for calling a global function with example usage: isclose(x, y, many) and returns: np, np