code: def symallclose(x, y, rtol=1.0e-5):
      # symetric relative allclose function
      # checks abs(x-y)/(abs(x) + abs(y))
      dd = np.divide(np.abs(x - y), np.abs(x) + np.abs(y))
      return all(np.less_equal(dd, rtol))
  
file_path: neon/tests/utils.py
imports: from builtins import zip
  import numpy
  import numpy.random
  from neon import logger
  from neon.backends.backend import Tensor
label_desc: Use image node_id 3 for calling a global function with example usage: symallclose(x, y, rtol) and returns: all