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

dnn: fix High-Level public API (cv::dnn::Model class)

- proxy selected Net methods only (don't derive from Net directly)
- default Model ctor is protected
This commit is contained in:
Alexander Alekhin
2020-10-31 14:08:13 +00:00
parent 691c3d1e3c
commit 23baf1a75e
4 changed files with 172 additions and 63 deletions
+1 -1
View File
@@ -563,7 +563,7 @@ TEST_P(Test_Caffe_nets, DenseNet_121)
}
normAssert(outs[0], ref, "", l1, lInf);
if (target != DNN_TARGET_MYRIAD || getInferenceEngineVPUType() != CV_DNN_INFERENCE_ENGINE_VPU_TYPE_MYRIAD_X)
expectNoFallbacksFromIE(model);
expectNoFallbacksFromIE(model.getNetwork_());
}
TEST(Test_Caffe, multiple_inputs)