def flush(self):
        if self._is_dirty:
            self.driver.save(self._id, self.session, self._expires)
Subclass should override this function.
dataset/ETHPy150Open MitchellChu/torndsession/torndsession/session.py/SessionManager.flush--crossover with--dataset/ETHPy150Open yuhaozhang/nnjm-global/code/train_util.py/TrainModel.buildModels