ray.rllib.algorithms.algorithm_config.AlgorithmConfig.from_state#
- classmethod AlgorithmConfig.from_state(state: Dict[str, Any]) AlgorithmConfig[source]#
Returns an instance constructed from the state.
- Parameters:
cls – An
AlgorithmConfigclass.state – A dictionary containing the state of an
AlgorithmConfig. SeeAlgorithmConfig.get_statefor creating a state.
- Returns:
An
AlgorithmConfiginstance with attributes from thestate.