Fix inception v3 tests

This commit is contained in:
2024-08-31 23:08:29 +02:00
parent bc9bff10cd
commit c8557fc0e4
9 changed files with 150 additions and 294 deletions

View File

@@ -51,19 +51,19 @@ TEST_F(InceptionBlockTest, InceptionCTest) {
-1.60163f, -0.27932f, -0.20508f, 1.31193f, -0.7601f, -0.0586f,
-0.21923f, -0.85385f, -1.10512f, -0.22181f, 0.94507f, -0.09808f};
expected = {-9231.45508f, -11854.50684f, -2690.15942f, -6366.60303f,
-6953.01855f, -2204.80371f, 1670.89551f, 18207.81641f,
-8896.50977f, 10661.94434f, 3338.31055f, -3853.95947f,
1445.87354f, -9627.54297f, 4166.00635f, -22477.38477f,
11400.2207f, 8139.3877f, 8114.41602f, -2006.37793f,
-9130.33398f, 10554.69824f, 5194.41016f, -7031.67969f,
-10880.09277f, -4093.95068f, 6500.65967f, -459.13672f,
-10640.70215f, 6096.37842f, 12178.46094f, 5894.95117f,
-3034.80225f, -5177.80518f, -6112.60449f, -7296.75879f,
-1134.77344f, -13472.27637f, 8982.56543f, -3773.67334f,
-4207.74609f, -4001.82129f, -6682.51953f, -12314.57617f,
-6180.21875f, -886.62231f, 5490.0752f, 4868.64893f,
-12725.73633f, -3121.33716f};
expected = {386048.9375f, -721189.75f, 1039515.0625f, -92812.95312f,
533437.75f, -617244.0f, -81946.21094f, -775994.25f,
-653376.0f, -690453.25f, 218790.28125f, 454025.3125f,
947592.375f, 280879.25f, -61118.59375f, -88742.75781f,
-458026.0625f, 82204.71875f, -297425.9375f, 114420.0625f,
397277.71875f, 593181.375f, 582754.125f, -614345.1875f,
-173317.15625f, -220982.48438f, -932588.5625f, 339467.5625f,
917578.125f, -95884.16406f, 83229.875f, 434552.375f,
231232.1875f, 142239.71875f, -264704.5f, 854149.0f,
462348.21875f, 33728.0f, 24409.39062f, -509526.3125f,
-279235.5625f, 570330.0f, 103149.71875f, 26780.33984f,
-328880.71875f, 1027994.8125f, -585315.0f, -210921.71875f,
492957.53125f, -122604.57031f};
runTest();
}