layers.py 文件源码

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

项目:gogh-figure 作者: joelmoniz 项目源码 文件源码
def style_conv_block(conv_in, num_styles, num_filters, filter_size, stride, nonlinearity=rectify, normalization=instance_norm):
    sc_network = ReflectLayer(conv_in, filter_size//2)
    sc_network = normalization(ConvLayer(sc_network, num_filters, filter_size, stride, nonlinearity=nonlinearity, W=Normal()), num_styles=num_styles)
    return sc_network
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号