code: def load_params_from_file(self, fname: str, allow_missing_params: bool = False):
          
          super().load_params_from_file(fname)  # sets self.params & self.aux_params
          self.module.set_params(arg_params=self.params,
                                 aux_params=self.aux_params,
                                 allow_missing=allow_missing_params)
docs: Loads parameters from a file and sets the parameters of the underlying module and this model instance.
  
          :param fname: File name to load parameters from.
          :param allow_missing_params: If set, the given parameters are allowed to be a subset of the Module parameters.