2023-02-22 15:05:58 +00:00
|
|
|
---
|
2023-03-25 11:32:36 +00:00
|
|
|
title: Vector Utility
|
2023-02-22 15:05:58 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# Utility functions for vectorisation
|
|
|
|
|
2023-03-25 11:32:36 +00:00
|
|
|
## Spaces utility functions
|
|
|
|
|
2023-02-22 15:05:58 +00:00
|
|
|
```{eval-rst}
|
|
|
|
.. autofunction:: gymnasium.experimental.vector.utils.batch_space
|
|
|
|
.. autofunction:: gymnasium.experimental.vector.utils.concatenate
|
|
|
|
.. autofunction:: gymnasium.experimental.vector.utils.iterate
|
|
|
|
.. autofunction:: gymnasium.experimental.vector.utils.create_empty_array
|
|
|
|
```
|
2023-03-25 11:32:36 +00:00
|
|
|
|
|
|
|
## Shared memory functions
|
|
|
|
|
|
|
|
```{eval-rst}
|
|
|
|
.. autofunction:: gymnasium.experimental.vector.utils.create_shared_memory
|
|
|
|
.. autofunction:: gymnasium.experimental.vector.utils.read_from_shared_memory
|
|
|
|
.. autofunction:: gymnasium.experimental.vector.utils.write_to_shared_memory
|
|
|
|
```
|
|
|
|
|
|
|
|
## Miscellaneous
|
|
|
|
|
|
|
|
```{eval-rst}
|
|
|
|
.. autofunction:: gymnasium.experimental.vector.utils.CloudpickleWrapper
|
|
|
|
.. autofunction:: gymnasium.experimental.vector.utils.clear_mpi_env_vars
|
|
|
|
```
|