google-deepmind / google-deepmind/dm_env
dm_env.specs.Array.sample() for specs
Đang mở
- Ngôn ngữ chính
- Python
- Star
- 407
- Fork
- 57
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.