1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

add enableWinograd API for Net.

This commit is contained in:
Zihao Mu
2022-10-09 09:33:07 +08:00
parent 347246901e
commit 1e2ceca4df
15 changed files with 70 additions and 18 deletions
+1
View File
@@ -476,6 +476,7 @@ TEST_P(Test_Torch_nets, ENet_accuracy)
ASSERT_TRUE(!net.empty());
}
net.enableWinograd(false);
net.setPreferableBackend(backend);
net.setPreferableTarget(target);