code: def eq(a, b):
      """Functional form of "equal"."""
      if hooks._DISPATCH.detect_overload_equal(
          a
      ) or hooks._DISPATCH.detect_overload_equal(b):
          return hooks._DISPATCH.equal(a, b)
      return _py_equal(a, b)
  
file_path: DALI/dali/python/nvidia/dali/_autograph/operators/logical.py
imports: from nvidia.dali._autograph.utils import hooks
label_desc: Use image node_id 7 for calling a global function with example usage: eq(a, b) and returns: _py_equal, hooks