ray.rllib.core.rl_module.rl_module.RLModuleSpec.update#

RLModuleSpec.update(other, override: bool = True) None[source]#

Updates this spec with the given other spec. Works like dict.update().

Parameters:
  • other – The other SingleAgentRLModule spec to update this one from.

  • override – Whether to update all properties in self with those of other. If False, only update those properties in `self that are not None.