code: def save_params_to_file(self, fname: str):
          
          arg_params, aux_params = self.module.get_params()
          self.module.set_params(arg_params, aux_params)
          self.params = arg_params
          self.aux_params = aux_params
          super().save_params_to_file(fname)
docs: Synchronizes parameters across devices, saves the parameters to disk, and updates self.params
          and self.aux_params.
  
          :param fname: Filename to write parameters to.