add fallback case for ocl convolution
authorLi Peng <peng.li@intel.com>
Mon, 12 Feb 2018 14:52:37 +0000 (22:52 +0800)
committerLi Peng <peng.li@intel.com>
Tue, 13 Feb 2018 16:04:38 +0000 (00:04 +0800)
commit5992c4660608e0f55294fff31cd0788d3bd9b7d8
treecd31a8f563c11b6f977807f22a90ac86e89a6102
parent00d2f348883766b4b136565719d296c84ca3eb99
add fallback case for ocl convolution

The ocl convolution doesn't support tensorflow padMode well.
Add fallback check if we meet this situation, it could fix the
tensorflow MobileNet SSD failure.

Signed-off-by: Li Peng <peng.li@intel.com>
modules/dnn/src/layers/convolution_layer.cpp