helper.py 文件源码

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

项目:ste-GAN-ography2 作者: bin2415 项目源码 文件源码
def fc_layer(x, shape, name):
    num_inputs, num_outputs = shape
    W = utils.weight_variable(shape, 1.0, name + "/W")
    b = utils.bias_variable([num_outputs], 0.0, name + "/b")
    return tf.nn.sigmoid(tf.matmul(x, W) + b)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号