ray.rllib.policy.policy.Policy.num_state_tensors#

Policy.num_state_tensors() int[source]#

The number of internal states needed by the RNN-Model of the Policy.

Returns:

The number of RNN internal states kept by this Policy’s Model.

Return type:

int