ray.rllib.env.env_runner_group.EnvRunnerGroup.get_spaces#

EnvRunnerGroup.get_spaces()[source]#

Infer observation and action spaces from one (local or remote) EnvRunner.

Returns:

A dict mapping from ModuleID to a 2-tuple containing obs- and action-space.