code: def test_comparison_values():
      compare_funs = [
          lambda x, y: np.sum(x < x) + 0.0,
          lambda x, y: np.sum(x <= y) + 0.0,
          lambda x, y: np.sum(x > y) + 0.0,
          lambda x, y: np.sum(x >= y) + 0.0,
          lambda x, y: np.sum(x == y) + 0.0,
          lambda x, y: np.sum(x != y) + 0.0,
      ]
  
      for arg1, arg2 in arg_pairs():
          for fun in compare_funs:
              fun_val = fun(arg1, arg2)
              fun_val_from_grad, _ = value_and_grad(fun)(arg1, arg2)
              assert fun_val == fun_val_from_grad, (
                  fun_val,
                  fun_val_from_grad,
              )
  
file_path: autograd/tests/test_binary_ops.py
imports: from __future__ import absolute_import
  from __future__ import print_function
  import warnings
  import autograd.numpy
  import autograd.numpy.random
  import itertools
  from autograd.test_util import check_grads
  from autograd import grad, value_and_grad
label_desc: Use image node_id 11 for calling a global function with example usage: test_comparison_values() without return types