ray.rllib.algorithms.algorithm.Algorithm.set_weights#

Algorithm.set_weights(weights: Dict[str, dict])[source]#

Set policy weights by policy id.

Parameters:

weights – Map of policy ids to weights to set.