mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
Make Intel's Inference Engine backend is default if no preferable backend is specified.
This commit is contained in:
@@ -128,6 +128,7 @@ TEST(LayerFactory, custom_layers)
|
||||
net.addLayerToPrev(lp.name, lp.type, lp);
|
||||
|
||||
net.setInput(inp);
|
||||
net.setPreferableBackend(DNN_BACKEND_OPENCV);
|
||||
Mat output = net.forward();
|
||||
|
||||
if (i == 0) EXPECT_EQ(output.at<float>(0), 1);
|
||||
|
||||
Reference in New Issue
Block a user