__init__.py 文件源码

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

项目:iaf 作者: openai 项目源码 文件源码
def randorth(shape):
    from scipy.linalg import sqrtm, inv
    assert len(shape) == 2
    w = np.random.normal(0, size=shape)
    w = w.dot(inv(sqrtm(w.T.dot(w))))
    return G.sharedf(w)

# Softmax function
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号