def save_config(self):
        """
            Save config into a yaml file in root experiment directory
        """
        folder = Path(self.session_config.folder)
        folder.mkdir(exist_ok=True, parents=True)
        config = Config(
            learner_config=self.learner_config,
            env_config=self.env_config,
            session_config=self.session_config
        )
        config.dump_file(str(folder / 'config.yml'))

            Save config into a yaml file in root experiment directory
        
surreal/learner/base.py