ray.rllib.offline.offline_env_runner.OfflineSingleAgentEnvRunner.sample_get_state_and_metrics#
- OfflineSingleAgentEnvRunner.sample_get_state_and_metrics() Tuple[ray._raylet.ObjectRef, Dict[str, Any], Dict[str, Any]] #
Convenience method for fast, async algorithms.
Use this in Algorithms that need to sample Episode lists as ray.ObjectRef, but also require (in the same remote call) the metrics and the EnvRunner states, except for the module weights.
DeveloperAPI: This API may change across minor Ray releases.