to_dict#
- AlgorithmConfig.to_dict() dict[source]#
Converts all settings into a legacy config dict for backward compatibility.
Note: On the new API stack (enable_rl_module_and_learner=True), the effective batch size is derived from
train_batch_size_per_learnerandnum_learners; read thetotal_train_batch_sizeproperty for it. The legacytrain_batch_sizekey in the returned dict is not authoritative on the new stack.- Returns:
A complete AlgorithmConfigDict, usable in backward-compatible Tune/RLlib use cases.