code: def _implements(numpy_function):
      """Register an __array_function__ implementation for MyArray objects."""
  
      def decorator(func):
          _NUMPY_ARRAY_FUNCTION_DICT[numpy_function] = func
          return func
  
      return decorator
  
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 2 for calling a global function with example usage: _implements(numpy_function) and returns: decorator, func