caffe卷積層延伸:卷積核膨脹詳細解析

在筆者的上一篇博客中,解析caffe的卷積層時,在conv_layer.cpp中有一個卷積核膨脹操作,在conv_layer.cpp的第17行有如下代碼 const int kernel_extent = dilation_data[i] * (kernel_shape_data[i] - 1) + 1;    上面的代碼描述了卷積核的膨脹操作,我們不妨來做個假設,卷積核爲3*3的,膨脹係數爲2,
相關文章
相關標籤/搜索