code: def deduplicate_param_dict(param_dict):
      """Get a parameter dict that has been deduplicated
  
      Parameters
      ----------
      param_dict
          The parameter dict returned by `model.collect_params()`
  
      Returns
      -------
      dedup_param_dict
      """
      dedup_param_dict = dict()
      param_uuid_set = set()
      for k in sorted(param_dict.keys()):
          v = param_dict[k]
          if v._uuid in param_uuid_set:
              continue
          dedup_param_dict[k] = v
          param_uuid_set.add(v._uuid)
      return dedup_param_dict
  
imports: import warnings
  import numpy
  import mxnet
  from collections import defaultdict
  from mxnet.gluon import Parameter
  from mxnet.util import use_np
  from typing import Iterable, Optional, Tuple
  from collections import OrderedDict
  from mxnet.gluon.utils import shape_is_known
label_desc: Use image node_id 4 for calling a global function with example usage: deduplicate_param_dict(param_dict) and returns: dedup_param_dict