mirror of
https://github.com/vale981/ray
synced 2025-03-09 04:46:38 -04:00
22 lines
563 B
ReStructuredText
22 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:
|