class_docstr: Class to convert MXNet to ONNX graph
class_docstr_tok: ["Class","to","convert","MXNet","to","ONNX","graph"]
docstr: 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
docstr_tok: ["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"]
code: def split_params(sym, params):
      """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
      """
      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
  
file_path: mxnet/python/mxnet/onnx/mx2onnx/_export_onnx.py
imports: import logging
  import json
  import numpy
  from mxnet import ndarray
label_desc: Use image node_id 4 for calling the MXNetGraph obj's underlying member method code with example usage: obj.split_params(sym, params) and returns: arg_params,  aux_params