dnn(test): drop CV_ENUM for DNNBackend / DNNTarget
This commit is contained in:
@@ -100,7 +100,7 @@ static void runTorchNet(String prefix, int targetId = DNN_TARGET_CPU, String out
|
||||
}
|
||||
}
|
||||
|
||||
typedef testing::TestWithParam<DNNTarget> Test_Torch_layers;
|
||||
typedef testing::TestWithParam<Target> Test_Torch_layers;
|
||||
|
||||
TEST_P(Test_Torch_layers, run_convolution)
|
||||
{
|
||||
@@ -208,7 +208,7 @@ TEST_P(Test_Torch_layers, net_non_spatial)
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(/**/, Test_Torch_layers, availableDnnTargets());
|
||||
|
||||
typedef testing::TestWithParam<DNNTarget> Test_Torch_nets;
|
||||
typedef testing::TestWithParam<Target> Test_Torch_nets;
|
||||
|
||||
TEST_P(Test_Torch_nets, OpenFace_accuracy)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user