normalized_env.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:gym-extensions 作者: Breakend 项目源码 文件源码
def action_space(self):
        if isinstance(self._wrapped_env.action_space, Box):
            ub = np.ones(self._wrapped_env.action_space.shape)
            return spaces.Box(-1 * ub, ub)
        return self._wrapped_env.action_space
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号