Added is_np_flattenable property to spaces docs (#172)

This commit is contained in:
Markus Krimmel
2022-12-02 17:01:42 +01:00
committed by GitHub
parent c6ee063f98
commit bd499eef25
4 changed files with 25 additions and 4 deletions

View File

@@ -13,20 +13,26 @@ spaces/utils
spaces/vector_utils
```
```{eval-rst}
.. automodule:: gymnasium.spaces
```
## The Base Class
```{eval-rst}
.. autoclass:: gymnasium.spaces.Space
```
## Attributes
### Attributes
```{eval-rst}
.. autoproperty:: gymnasium.spaces.space.Space.shape
.. property:: Space.dtype
Return the data type of this space.
.. autoproperty:: gymnasium.spaces.space.Space.is_np_flattenable
```
## Methods
### Methods
Each space implements the following functions: