@@ -451,24 +451,22 @@ TEST(ConvIntegerTest, WithoutPadding_2D_s8s8) {
451451
452452 std::vector<int64_t > x_dims{1 , 1 , 3 , 3 };
453453 test.AddInput <int8_t >(" x" , x_dims,
454- {-1 , 2 , -3 ,
455- 4 , -5 , 6 ,
456- -7 , 8 , -9 });
454+ {-1 , 2 , -3 ,
455+ 4 , -5 , 6 ,
456+ -7 , 8 , -9 });
457457
458458 std::vector<int64_t > w_dims{1 , 1 , 2 , 2 };
459459 test.AddInput <int8_t >(" w" , w_dims,
460- {1 , -2 ,
461- 3 , -4 });
460+ {1 , -2 ,
461+ 3 , -4 });
462462
463463 test.AddInput <int8_t >(" x_zero_point" , {}, {0 });
464464 test.AddInput <int8_t >(" w_zero_point" , {}, {0 });
465465
466466 std::vector<int64_t > y_dims{1 , 1 , 2 , 2 };
467467 test.AddOutput <int32_t >(" y" , y_dims,
468- {
469- 27 , -31 ,
470- -39 , 43
471- });
468+ {27 , -31 ,
469+ -39 , 43 });
472470
473471 test.Run ();
474472}
@@ -478,14 +476,14 @@ TEST(ConvIntegerTest, WithPadding_2D_s8s8) {
478476
479477 std::vector<int64_t > x_dims{1 , 1 , 3 , 3 };
480478 test.AddInput <int8_t >(" x" , x_dims,
481- {-1 , 2 , -3 ,
482- 4 , -5 , 6 ,
483- -7 , 8 , -9 });
479+ {-1 , 2 , -3 ,
480+ 4 , -5 , 6 ,
481+ -7 , 8 , -9 });
484482
485483 std::vector<int64_t > w_dims{1 , 1 , 2 , 2 };
486484 test.AddInput <int8_t >(" w" , w_dims,
487- {1 , -2 ,
488- 3 , -4 });
485+ {1 , -2 ,
486+ 3 , -4 });
489487
490488 test.AddInput <int8_t >(" x_zero_point" , {}, {0 });
491489 test.AddInput <int8_t >(" w_zero_point" , {}, {0 });
@@ -494,12 +492,10 @@ TEST(ConvIntegerTest, WithPadding_2D_s8s8) {
494492
495493 std::vector<int64_t > y_dims{1 , 1 , 4 , 4 };
496494 test.AddOutput <int32_t >(" y" , y_dims,
497- {
498- 4 , -11 , 18 , -9 ,
499- -14 , 27 , -31 , 15 ,
500- 20 , -39 , 43 , -21 ,
501- 14 , -23 , 26 , -9
502- });
495+ {4 , -11 , 18 , -9 ,
496+ -14 , 27 , -31 , 15 ,
497+ 20 , -39 , 43 , -21 ,
498+ 14 , -23 , 26 , -9 });
503499
504500 test.Run ();
505501}
0 commit comments