nn.py 文件源码

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

项目:real-nvp 作者: taesung89 项目源码 文件源码
def backward(self, y, z):
    ys = int_shape(y)
    assert ys[3] % 4 == 0
    x = tf.depth_to_space(y,2)

    if z is not None:
      z = tf.depth_to_space(z,2)

    return x, z

# The layer that factors out half of the variables
# directly to the latent space.
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号