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 99c4b76 commit d5713c6Copy full SHA for d5713c6
modules/dnn/src/layers/slice_layer.cpp
@@ -202,6 +202,10 @@ class SliceLayerImpl : public SliceLayer
202
#ifdef HAVE_OPENCL
203
bool forward_ocl(InputArrayOfArrays inputs_, OutputArrayOfArrays outputs_, OutputArrayOfArrays internals_)
204
{
205
+#if 1
206
+ // TODO fix that (brokes YOLOv4-tiny)
207
+ return false;
208
+#else
209
std::vector<UMat> inputs;
210
std::vector<UMat> outputs;
211
@@ -244,7 +248,8 @@ class SliceLayerImpl : public SliceLayer
244
248
}
245
249
246
250
return true;
247
- }
251
+#endif
252
+ }
253
#endif
254
255
void forward(InputArrayOfArrays inputs_arr, OutputArrayOfArrays outputs_arr, OutputArrayOfArrays internals_arr) CV_OVERRIDE
0 commit comments