ops.py 文件源码

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

项目:Img2Img-Translation-Tensorflow 作者: lovecambi 项目源码 文件源码
def batch_norm(x, train_mode=True, epsilon=1e-5, momentum=0.9, name="bn"):
    with tf.variable_scope(name):
        return tcl.batch_norm(x, 
                              decay=momentum, 
                              updates_collections=None, 
                              epsilon=epsilon, 
                              scale=True, 
                              is_training=train_mode, 
                              trainable=True, 
                              scope=name)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号