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:
committed by
Maksim Shabunin
parent
c42beb4c34
commit
3b01eaa3d8
@@ -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()
|
||||
//{
|
||||
|
||||
Reference in New Issue
Block a user