mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-07-30 21:34:30 +00:00
Added is_np_flattenable
property to spaces docs (#172)
This commit is contained in:
@@ -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:
|
||||
|
||||
|
Reference in New Issue
Block a user