google-deepmind / google-deepmind/dm_env
dm_env.specs.Array.sample() for specs
Abierto
- Lenguaje dominante
- Python
- Estrellas
- 407
- Forks
- 57
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Would be useful to have a `sample()` function for the specs, like in [gym spaces](https://github.com/Farama-Foundation/Gymnasium/blob/3fda2072d6c1e76e76127eabb080862b7afa6e9a/gymnasium/spaces/space.py#L92). I can raise a PR if this is fine by you guys.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.