pythonLayer.py 文件源码

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

项目:mtcnn-caffe 作者: CongWeilin 项目源码 文件源码
def backward(self,top,propagate_down,bottom):
    for i in range(2):
        if not propagate_down[i] or self.N==0:
        continue
        if i == 0:
        sign = 1
        else:
        sign = -1
        bottom[i].diff[...] = sign * self.diff / bottom[i].num
################################################################################
#############################Classify Layer By Python###########################
################################################################################
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号