code: def split_params(sym, params):
          
          arg_params = {}
          aux_params = {}
          for args in sym.list_arguments():
              if args in params:
                  arg_params.update({args: nd.array(params[args])})
          for aux in sym.list_auxiliary_states():
              if aux in params:
                  aux_params.update({aux: nd.array(params[aux])})
          return arg_params, aux_params
docs: Helper function to split params dictionary into args and aux params
  
          Parameters
          ----------
          sym : :class:`~mxnet.symbol.Symbol`
              MXNet symbol object
          params : dict of ``str`` to :class:`~mxnet.ndarray.NDArray`
              Dict of converted parameters stored in ``mxnet.ndarray.NDArray`` format
  
          Returns
          -------
          arg_params : dict of ``str`` to :class:`~mxnet.ndarray.NDArray`
              Dict of converted parameters stored in ``mxnet.ndarray.NDArray`` format
          aux_params : dict of ``str`` to :class:`~mxnet.ndarray.NDArray`
              Dict of converted parameters stored in ``mxnet.ndarray.NDArray`` format