depthwise_conv.py 文件源码

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

项目:MobileNetworks 作者: titu1994 项目源码 文件源码
def get_config(self):
        config = super(DepthwiseConv2D, self).get_config()
        config.pop('filters')
        config.pop('kernel_initializer')
        config.pop('kernel_regularizer')
        config.pop('kernel_constraint')
        config['depth_multiplier'] = self.depth_multiplier
        config['depthwise_initializer'] = initializers.serialize(self.depthwise_initializer)
        config['depthwise_regularizer'] = regularizers.serialize(self.depthwise_regularizer)
        config['depthwise_constraint'] = constraints.serialize(self.depthwise_constraint)
        return config
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号