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 AlgorithmConfig class.

  • state – A dictionary containing the state of an AlgorithmConfig. See AlgorithmConfig.get_state for creating a state.

Returns:

An AlgorithmConfig instance with attributes from the state.