You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
caffeMode = true refers to the calculation method in caffe. This method is also used in cudnn. So, if the convolution layer is configured as cudnn, you need to ensure that caffe_mode = True.
If the padding is replaced with paddingLeft and paddingRight two arguments. In caffeMode = true formula, modify the size of the padding can also achieve caffeMode = false results.
So, can we remove this configuration argument?
The text was updated successfully, but these errors were encountered:
In Paddle's code,
caffeMode
is a value of type bool (ConvBaseLayer::caffeMode_ and caffe_mode). Set to true or false, will affect the output size of the convolution calculation (outputSize and cnn_output_size).The calculation result when caffeMode is set to false or true is as follows.
caffeMode = true
refers to the calculation method in caffe. This method is also used in cudnn. So, if the convolution layer is configured as cudnn, you need to ensure thatcaffe_mode = True
.padding
is replaced withpaddingLeft
andpaddingRight
two arguments. IncaffeMode = true
formula, modify the size of the padding can also achievecaffeMode = false
results.So, can we remove this configuration argument?
The text was updated successfully, but these errors were encountered: