google-deepmind / google-deepmind/dm_env

dm_env.specs.Array.sample() for specs

未关闭
#14 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。