ray.rllib.core.rl_module.rl_module.RLModule.unwrapped#

RLModule.unwrapped() RLModule[source]#

Returns the underlying module if this module is a wrapper.

An example of a wrapped is the TorchDDPRLModule class, which wraps a TorchRLModule.

Returns:

The underlying module.