mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-01 06:07:08 +00:00
Made readout of seed possible in env (#889)
This commit is contained in:
committed by
GitHub
parent
9e83d5442c
commit
b3f0361f91
@@ -54,6 +54,7 @@ title: Env
|
||||
|
||||
.. autoproperty:: gymnasium.Env.unwrapped
|
||||
.. autoproperty:: gymnasium.Env.np_random
|
||||
.. autoproperty:: gymnasium.Env.np_random_seed
|
||||
```
|
||||
|
||||
## Implementing environments
|
||||
|
@@ -67,6 +67,7 @@ vector/utils
|
||||
```{eval-rst}
|
||||
.. autoproperty:: gymnasium.vector.VectorEnv.unwrapped
|
||||
.. autoproperty:: gymnasium.vector.VectorEnv.np_random
|
||||
.. autoproperty:: gymnasium.vector.VectorEnv.np_random_seed
|
||||
```
|
||||
|
||||
## Making Vector Environments
|
||||
|
@@ -11,3 +11,10 @@
|
||||
.. automethod:: gymnasium.vector.AsyncVectorEnv.get_attr
|
||||
.. automethod:: gymnasium.vector.AsyncVectorEnv.set_attr
|
||||
```
|
||||
|
||||
### Additional Methods
|
||||
|
||||
```{eval-rst}
|
||||
.. autoproperty:: gymnasium.vector.VectorEnv.np_random
|
||||
.. autoproperty:: gymnasium.vector.VectorEnv.np_random_seed
|
||||
```
|
||||
|
@@ -11,3 +11,10 @@
|
||||
.. automethod:: gymnasium.vector.SyncVectorEnv.get_attr
|
||||
.. automethod:: gymnasium.vector.SyncVectorEnv.set_attr
|
||||
```
|
||||
|
||||
### Additional Methods
|
||||
|
||||
```{eval-rst}
|
||||
.. autoproperty:: gymnasium.vector.VectorEnv.np_random
|
||||
.. autoproperty:: gymnasium.vector.VectorEnv.np_random_seed
|
||||
```
|
||||
|
@@ -47,5 +47,6 @@ wrappers/reward_wrappers
|
||||
.. autoproperty:: gymnasium.Wrapper.spec
|
||||
.. autoproperty:: gymnasium.Wrapper.metadata
|
||||
.. autoproperty:: gymnasium.Wrapper.np_random
|
||||
.. autoproperty:: gymnasium.Wrapper.np_random_seed
|
||||
.. autoproperty:: gymnasium.Wrapper.unwrapped
|
||||
```
|
||||
|
Reference in New Issue
Block a user