layer.py 文件源码

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

项目:Gumbel-Softmax-VAE-in-tensorflow 作者: JeremyCCHsu 项目源码 文件源码
def discriminator(x):
    with tf.variable_scope('Discriminator'):
        c1 = conv2d(x, [5, 5], [1, 2, 2, 1], 16, scope='conv1')
        c2 = conv2d(c1, [5, 5], [1, 2, 2, 1], 64, scope='conv2')
        f0 = slim.flatten(c2)
        f1 = dense(f0, 100, scope='dense1')
        f2 = dense(f1, 10, scope='dense2')
    return f2
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号