loosen threshold for Mali
authorTomoaki Teshima <tomoaki.teshima@gmail.com>
Sat, 26 Sep 2020 15:37:52 +0000 (00:37 +0900)
committerTomoaki Teshima <tomoaki.teshima@gmail.com>
Sat, 26 Sep 2020 15:37:52 +0000 (00:37 +0900)
modules/dnn/test/test_torch_importer.cpp

index 4b89afc33190b990fb83c1bef0b1aa0e98a0ebf3..3be22d6d25dd11f45d44149da2de83fa4558da85 100644 (file)
@@ -113,7 +113,7 @@ TEST_P(Test_Torch_layers, run_convolution)
 {
     // Output reference values are in range [23.4018, 72.0181]
     double l1 = (target == DNN_TARGET_OPENCL_FP16 || target == DNN_TARGET_MYRIAD) ? 0.08 : default_l1;
-    double lInf = (target == DNN_TARGET_OPENCL_FP16 || target == DNN_TARGET_MYRIAD) ? 0.42 : default_lInf;
+    double lInf = (target == DNN_TARGET_OPENCL_FP16 || target == DNN_TARGET_MYRIAD) ? 0.43 : default_lInf;
     runTorchNet("net_conv", "", false, true, true, l1, lInf);
 }
 
@@ -165,7 +165,7 @@ TEST_P(Test_Torch_layers, run_concat)
 TEST_P(Test_Torch_layers, run_depth_concat)
 {
     runTorchNet("net_depth_concat", "", false, true, true, 0.0,
-                target == DNN_TARGET_OPENCL_FP16 ? 0.021 : 0.0);
+                target == DNN_TARGET_OPENCL_FP16 ? 0.032 : 0.0);
 }
 
 TEST_P(Test_Torch_layers, run_deconv)