docs: def get_config(self):
          """
          serialize to a dict all attributes except model weights
          
          Returns
          -------
          dict
          """
          self.update_network_description()
          result = dict(self.__dict__)
          result['_network'] = None
          result['network_weights'] = None
          result['network_weights_loader'] = None
          result['prediction_cache'] = None
          return result