google-deepmind / google-deepmind/dm_env
dm_env.specs.Array.sample() for specs
未关闭
- 主要语言
- Python
- 星标
- 407
- 派生
- 57
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.
贡献指南
评估
这个 Issue 还没有评估数据。