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, InceptionETest) {
2.1034f, 1.65832f, 1.63788f, -1.32596f, -1.43412f, -1.28353f,
0.70226f, 0.9459f, 0.8579f, 0.15361f, 0.34449f, -1.70587f};
expected = {1614.15283f, -11319.01855f, 614.40479f, 5280.0293f,
1914.45007f, -2937.50317f, -11177.16113f, 3215.01245f,
6249.16992f, 5654.91357f, -11702.27148f, 13057.32422f,
8665.35742f, 3911.11743f, 5239.45947f, -11552.88477f,
-8056.7666f, -16426.19922f, -1383.04346f, 6573.53125f,
-12226.16992f, -6641.0957f, -9614.80078f, -9313.30273f,
7023.68848f, 2089.5752f, 1095.53369f, -1387.65698f,
-7928.21729f, -9489.18848f, 4159.78613f, -690.03442f,
-8356.81738f, 12364.08203f, 8226.95703f, 8822.66602f,
-5462.90381f, -1037.42773f, 12958.68555f, -666.58423f,
2032.38574f, -9534.14062f, -947.41333f, 689.37158f,
4585.76465f, -23245.36719f, 975.83398f, -1253.45703f,
-14745.35059f, -2588.05493f};
expected = {-52475.21094f, -45850.59766f, 25258.94727f, -123668.88281f,
-124592.32812f, 120878.47656f, 69247.67188f, 3390.39258f,
-17620.58594f, 5239.70117f, -30841.2793f, -134645.84375f,
-71254.0f, -69958.625f, 27372.9668f, -10891.0293f,
52875.20703f, 810.01172f, -57457.20312f, -26664.05469f,
-8147.90527f, -139440.09375f, -71311.84375f, -53446.54688f,
25358.27148f, -42854.97656f, 57698.98438f, 63391.79688f,
54427.98438f, 89160.73438f, 79430.96094f, -51700.30469f,
29048.21094f, -28000.3418f, -29570.61133f, -16047.83691f,
-69285.42188f, -13865.00391f, 17681.38672f, -45284.46484f,
42490.97656f, 30390.58203f, 21886.40039f, -89973.20312f,
75571.00781f, 19183.16797f, -37130.51562f, 12787.17383f,
59336.42578f, -88201.78125f};
runTest();
}