vector_env.rst 563 B

12345678910111213141516171819202122
  1. .. _vector-env-reference-docs:
  2. VectorEnv API
  3. =============
  4. rllib.env.vector_env.VectorEnv
  5. ------------------------------
  6. .. autoclass:: ray.rllib.env.vector_env.VectorEnv
  7. :special-members: __init__
  8. :members:
  9. Gym.Env to VectorEnv
  10. --------------------
  11. Internally, RLlib uses the following wrapper class to convert your provided ``gym.Env`` class into
  12. a ``VectorEnv`` first. After that, RLlib will convert the resulting objects into a ``BaseEnv``.
  13. .. autoclass:: ray.rllib.env.vector_env._VectorizedGymEnv
  14. :special-members: __init__
  15. :members: