mirror of
https://github.com/vale981/ray
synced 2025-03-09 12:56:46 -04:00
23 lines
563 B
ReStructuredText
23 lines
563 B
ReStructuredText
![]() |
.. _vector-env-reference-docs:
|
||
|
|
||
|
VectorEnv API
|
||
|
=============
|
||
|
|
||
|
rllib.env.vector_env.VectorEnv
|
||
|
------------------------------
|
||
|
|
||
|
.. autoclass:: ray.rllib.env.vector_env.VectorEnv
|
||
|
:special-members: __init__
|
||
|
:members:
|
||
|
|
||
|
|
||
|
Gym.Env to VectorEnv
|
||
|
--------------------
|
||
|
|
||
|
Internally, RLlib uses the following wrapper class to convert your provided ``gym.Env`` class into
|
||
|
a ``VectorEnv`` first. After that, RLlib will convert the resulting objects into a ``BaseEnv``.
|
||
|
|
||
|
.. autoclass:: ray.rllib.env.vector_env._VectorizedGymEnv
|
||
|
:special-members: __init__
|
||
|
:members:
|