ray.rllib.env.single_agent_episode.SingleAgentEpisode.validate#

SingleAgentEpisode.validate() None[source]#

Validates the episode’s data.

This function ensures that the data stored to a SingleAgentEpisode is in order (e.g. that the correct number of observations, actions, rewards are there).