1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-24 03:03:35 +08:00

Fixed bugs after dnn refactoring. Added new tests for layers (#1142)

* Fixed bugs after dnn refactoring. Added new tests for layers

* Fixed torch tests
This commit is contained in:
Aleksandr Rybnikov
2017-05-10 18:02:44 +03:00
committed by Maksim Shabunin
parent c42beb4c34
commit 3b01eaa3d8
12 changed files with 242 additions and 35 deletions

View File

@@ -184,6 +184,21 @@ TEST(Layer_Test_BatchNorm, Accuracy)
testLayerUsingCaffeModels("layer_batch_norm", true);
}
TEST(Layer_Test_ReLU, Accuracy)
{
testLayerUsingCaffeModels("layer_relu");
}
TEST(Layer_Test_Dropout, Accuracy)
{
testLayerUsingCaffeModels("layer_dropout");
}
TEST(Layer_Test_Concat, Accuracy)
{
testLayerUsingCaffeModels("layer_concat");
}
//template<typename XMat>
//static void test_Layer_Concat()
//{