We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a29dcd0 commit b720d3fCopy full SHA for b720d3f
src/caffe/layers/conv_layer.cpp
@@ -25,16 +25,6 @@ void ConvolutionLayer<Dtype>::compute_output_shape() {
25
const int kernel_extent = dilation_data[i] * (kernel_shape_data[i] - 1) + 1;
26
int output_dim;
27
//<--CUSTOMIZATION
28
- if(this->submanifold_sparse_)
29
- {
30
- if(kernel_shape_data[i] % 2 == 0)
31
32
- LOG(WARNING)<<"kernel shape "<<i<<" is "<<kernel_shape_data[i]<<", "
33
- "we don't suppport even kernel size for submanifold sparse conv feature! Using normal conv computation instead.\n";
34
- this->submanifold_sparse_ = false;
35
- }
36
37
-
38
if (pad_l!=0 || pad_r!=0 || pad_t!=0 || pad_b!=0){ //only support 2D
39
if (i==0) {
40
output_dim = (input_dim + pad_t + pad_b - kernel_extent) / stride_data[i] + 1;
0 commit comments