distributions.py 文件源码

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

项目:distributional_perspective_on_RL 作者: Kiwoo 项目源码 文件源码
def neglogp(self, x):
        return 0.5 * U.sum(tf.square((x - self.mean) / self.std), axis=len(x.get_shape()) - 1) \
               + 0.5 * np.log(2.0 * np.pi) * tf.to_float(tf.shape(x)[-1]) \
               + U.sum(self.logstd, axis=len(x.get_shape()) - 1)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号