ray.rllib.core.rl_module.rl_module.RLModule.get_initial_state#

RLModule.get_initial_state() Any[source]#

Returns the initial state of the RLModule, in case this is a stateful module.

Returns:

A tensor or any nested struct of tensors, representing an initial state for this (stateful) RLModule.