@@ -7179,15 +7179,17 @@ static std::vector<std::unique_ptr<test_case>> make_test_cases_eval() {
71797179 test_cases.emplace_back (new test_argsort (GGML_TYPE_F32, {2 , 8 , 8192 , 1 }, order)); // bailingmoe2 (group selection)
71807180 }
71817181
7182- for (ggml_scale_mode mode : {GGML_SCALE_MODE_NEAREST, GGML_SCALE_MODE_BILINEAR}) {
7182+ for (ggml_scale_mode mode : {GGML_SCALE_MODE_NEAREST, GGML_SCALE_MODE_BILINEAR, GGML_SCALE_MODE_BICUBIC }) {
71837183 test_cases.emplace_back (new test_upscale (GGML_TYPE_F32, {512 , 512 , 3 , 2 }, 2 , mode));
71847184 test_cases.emplace_back (new test_upscale (GGML_TYPE_F32, {512 , 512 , 3 , 2 }, 2 , mode, true ));
71857185 test_cases.emplace_back (new test_interpolate (GGML_TYPE_F32, {2 , 5 , 7 , 11 }, {5 , 7 , 11 , 13 }, mode));
71867186 test_cases.emplace_back (new test_interpolate (GGML_TYPE_F32, {5 , 7 , 11 , 13 }, {2 , 5 , 7 , 11 }, mode));
71877187 }
7188- test_cases.emplace_back (new test_interpolate (GGML_TYPE_F32, {2 , 5 , 7 , 11 }, {5 , 7 , 11 , 13 }, GGML_SCALE_MODE_BILINEAR | GGML_SCALE_FLAG_ALIGN_CORNERS));
7189- test_cases.emplace_back (new test_interpolate (GGML_TYPE_F32, {1 , 4 , 3 , 2 }, {2 , 8 , 3 , 2 }, GGML_SCALE_MODE_BILINEAR | GGML_SCALE_FLAG_ALIGN_CORNERS));
7190- test_cases.emplace_back (new test_interpolate (GGML_TYPE_F32, {4 , 1 , 3 , 2 }, {1 , 1 , 3 , 2 }, GGML_SCALE_MODE_BILINEAR | GGML_SCALE_FLAG_ALIGN_CORNERS));
7188+ for (ggml_scale_mode mode : {GGML_SCALE_MODE_BILINEAR, GGML_SCALE_MODE_BICUBIC}) {
7189+ test_cases.emplace_back (new test_interpolate (GGML_TYPE_F32, {2 , 5 , 7 , 11 }, {5 , 7 , 11 , 13 }, mode | GGML_SCALE_FLAG_ALIGN_CORNERS));
7190+ test_cases.emplace_back (new test_interpolate (GGML_TYPE_F32, {1 , 4 , 3 , 2 }, {2 , 8 , 3 , 2 }, mode | GGML_SCALE_FLAG_ALIGN_CORNERS));
7191+ test_cases.emplace_back (new test_interpolate (GGML_TYPE_F32, {4 , 1 , 3 , 2 }, {1 , 1 , 3 , 2 }, mode | GGML_SCALE_FLAG_ALIGN_CORNERS));
7192+ }
71917193
71927194 test_cases.emplace_back (new test_sum ());
71937195 test_cases.emplace_back (new test_sum_rows ());
0 commit comments