code: def _register_array_ufunc():
      """Register NumPy array ufunc protocol.
  
      References
      ----------
      https://numpy.org/neps/nep-0013-ufunc-overrides.html
      """
      dup = _find_duplicate(_NUMPY_ARRAY_UFUNC_LIST)
      if dup is not None:
          raise ValueError(
              "Duplicate operator name {} in _NUMPY_ARRAY_UFUNC_LIST".format(
                  dup
              )
          )
      for op_name in _NUMPY_ARRAY_UFUNC_LIST:
          try:
              mx_np_op = getattr(mx_np, op_name)
              _NUMPY_ARRAY_UFUNC_DICT[op_name] = mx_np_op
          except AttributeError:
              raise AttributeError(
                  "mxnet.numpy does not have operator named {}".format(
                      op_name
                  )
              )
  
file_path: mxnet/python/mxnet/numpy_dispatch_protocol.py
imports: import functools
  import numpy
  from .None import numpy
  from .numpy.multiarray import _NUMPY_ARRAY_FUNCTION_DICT, _NUMPY_ARRAY_UFUNC_DICT
label_desc: Use image node_id 6 for calling a global function with example usage: _register_array_ufunc() without return types