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)),
)
confirm_dqn_env.py 文件源码
python
阅读 23
收藏 0
点赞 0
评论 0
评论列表
文章目录