ray.rllib.algorithms.algorithm_config.AlgorithmConfig.copy
ray.rllib.algorithms.algorithm_config.AlgorithmConfig.copy#
- AlgorithmConfig.copy(copy_frozen: Optional[bool] = None) ray.rllib.algorithms.algorithm_config.AlgorithmConfig[source]#
Creates a deep copy of this config and (un)freezes if necessary.
- Parameters
copy_frozen – Whether the created deep copy will be frozen or not. If None, keep the same frozen status that
selfcurrently has.- Returns
A deep copy of
selfthat is (un)frozen.