ray.rllib.offline.offline_env_runner.OfflineSingleAgentEnvRunner.sample# OfflineSingleAgentEnvRunner.sample(*, num_timesteps: int = None, num_episodes: int = None, explore: bool = None, random_actions: bool = False, force_reset: bool = False) → List[SingleAgentEpisode][source]# Samples from environments and writes data to disk.