code: def save_param_dict(params):
      """Save parameter dictionary to binary bytes.
  
      The result binary bytes can be loaded by the
      GraphModule with API "load_params".
  
      Parameters
      ----------
      params : dict of str to NDArray
          The parameter dictionary.
  
      Returns
      -------
      param_bytes: bytearray
          Serialized parameters.
  
      Examples
      --------
      .. code-block:: python
  
         # set up the parameter dict
         params = {"param0": arr0, "param1": arr1}
         # save the parameters as byte array
         param_bytes = tvm.runtime.save_param_dict(params)
         # We can serialize the param_bytes and load it back later.
         # Pass in byte array to module to directly set parameters
         tvm.runtime.load_param_dict(param_bytes)
      """
      return _ffi_api.SaveParams(_to_ndarray(params))
  
imports: from .None import _ffi_api, ndarray, NDArray
label_desc: Use image node_id 2 for calling a global function with example usage: save_param_dict(params) and returns: _ffi_api