mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-02 06:16:32 +00:00
* Allows a new RNG to be generated with seed=-1 and updated env_checker to fix bug if environment doesn't use np_random in reset
* Revert "fixed `gym.vector.make` where the checker was being applied in the opposite case than was intended to (#2871)"
This reverts commit 519dfd9117
.
* Remove bad pushed commits
* Fixed spelling in core.py
* Pins pytest to the last py 3.6 version
* Allow Box automatic scalar shape
* Add test box and change default from () to (1,)
* update Box shape inference with more strict checking
* Update the box shape and add check on the custom Box shape
* Removed incorrect shape type and assert shape code
* Update the Box and associated tests
* Remove all folders and files from pyright exclude
* Revert issues
* Push RedTachyon code review
* Add Python Platform
* Remove play from pyright check
* Fixed CI issues
* remove mujoco env type hinting
* Fixed pixel observation test
* Added some new type hints
* Fixed CI errors
* Fixed CI errors
* Remove play.py from exlucde pyright
* Fixed pyright issues
24 lines
727 B
Python
24 lines
727 B
Python
"""Module for gym vector utils."""
|
|
from gym.vector.utils.misc import CloudpickleWrapper, clear_mpi_env_vars
|
|
from gym.vector.utils.numpy_utils import concatenate, create_empty_array
|
|
from gym.vector.utils.shared_memory import (
|
|
create_shared_memory,
|
|
read_from_shared_memory,
|
|
write_to_shared_memory,
|
|
)
|
|
from gym.vector.utils.spaces import _BaseGymSpaces # pyright: reportPrivateUsage=false
|
|
from gym.vector.utils.spaces import BaseGymSpaces, batch_space, iterate
|
|
|
|
__all__ = [
|
|
"CloudpickleWrapper",
|
|
"clear_mpi_env_vars",
|
|
"concatenate",
|
|
"create_empty_array",
|
|
"create_shared_memory",
|
|
"read_from_shared_memory",
|
|
"write_to_shared_memory",
|
|
"BaseGymSpaces",
|
|
"batch_space",
|
|
"iterate",
|
|
]
|