code: def get_all_registered_operators_grouped():
      """Get all registered MXNet operator names, grouped by 'original' operator.
  
      Returns
      -------
      names : a dictionary, mapping op name to the list of all its aliases (including the original).
      """
      ret = {}
      for aname in get_all_registered_operators():
          op_handle = OpHandle()
          check_call(
              _LIB.NNGetOpHandle(c_str(aname), ctypes.byref(op_handle))
          )
          name = ctypes.c_char_p()
          desc = ctypes.c_char_p()
          num_args = mx_uint()
          arg_names = ctypes.POINTER(ctypes.c_char_p)()
          arg_types = ctypes.POINTER(ctypes.c_char_p)()
          arg_descs = ctypes.POINTER(ctypes.c_char_p)()
          ret_types = ctypes.POINTER(ctypes.c_char_p)()
          check_call(
              _LIB.NNGetOpInfo(
                  op_handle,
                  ctypes.byref(name),
                  ctypes.byref(desc),
                  ctypes.byref(num_args),
                  ctypes.byref(arg_names),
                  ctypes.byref(arg_types),
                  ctypes.byref(arg_descs),
                  ctypes.byref(ret_types),
              )
          )
          ret.setdefault(py_str(name.value), []).append(aname)
      return ret
  
imports: import traceback
  import warnings
  import collections
  from array import array
  from threading import Lock
  import ctypes
  from ctypes import CFUNCTYPE, POINTER, Structure, pointer
  from ctypes import c_void_p, c_int, c_char, c_char_p, cast, c_bool
  from .base import _LIB, check_call, MXCallbackList, c_array, c_array_buf, mx_int, OpHandle
  from .base import c_str, mx_uint, mx_float, ctypes2numpy_shared, NDArrayHandle, py_str
  from .None import symbol, context
  from .ndarray import NDArray, dtype_np_to_mx, dtype_mx_to_np
  from .ndarray.ndarray import _STORAGE_TYPE_STR_TO_ID, _STORAGE_TYPE_ID_TO_STR
  from .ndarray.ndarray import _STORAGE_TYPE_UNDEFINED, _STORAGE_TYPE_DEFAULT
  from .ndarray.ndarray import _STORAGE_TYPE_CSR, _STORAGE_TYPE_ROW_SPARSE
  from .ndarray import _ndarray_cls
  from .numpy.multiarray import _np_ndarray_cls
  from .util import is_np_array
label_desc: Use image node_id 3 for calling a global function with example usage: get_all_registered_operators_grouped() and returns: ret