code: def load_params(self, fname):
          
          save_dict = ndarray.load(fname)
          arg_params = {}
          aux_params = {}
          for k, value in save_dict.items():
              arg_type, name = k.split(':', 1)
              if arg_type == 'arg':
                  arg_params[name] = value
              elif arg_type == 'aux':
                  aux_params[name] = value
              else:
                  raise ValueError("Invalid param file " + fname)
          self.set_params(arg_params, aux_params)
docs: Loads model parameters from file.
  
          Parameters
          ----------
          fname : str
              Path to input param file.
  
          Examples
          --------
          >>> # An example of loading module parameters.
          >>> mod.load_params('myfile')