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