confirm_dqn_env.py 文件源码

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

项目:techcircle_openai_handson 作者: icoxfog417 项目源码 文件源码
def __init__(self, action, other_action, size, epsilon=0.05, hidden=200):
        self.action = action
        self.other_action = other_action
        self.width = size * size
        self.epsilon = epsilon
        self.hidden = hidden
        super(ChainerAgent, self).__init__(
            l1=F.Linear(self.width, self.hidden, wscale=np.sqrt(2)),
            l2=F.Linear(self.hidden, 1, wscale=np.sqrt(2)),
        )
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号