mindspore_rl.utils.update_config(config, env_yaml, algo_yaml)[源代码]

通过传入的yaml文件更新config。

参数:
  • config (dict) - 待更新的配置。

  • env_yaml (str) - 环境yaml文件。

  • algo_yaml (str) - 算法yaml文件。