]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ggml-cpu : "align corners" for bilinear upscale/downscale (ggml/1285)
authorAcly <redacted>
Tue, 1 Jul 2025 07:11:00 +0000 (09:11 +0200)
committerGeorgi Gerganov <redacted>
Tue, 1 Jul 2025 14:54:53 +0000 (17:54 +0300)
commit9d7cb80f04eea4c73b6aa6a26e919d76e4e0e3ac
treeadbb4595b60df2f54262c1dd69f37b71e7b2f76f
parent515df20351112d4c2722bd0a9094f02ad1488fb6
ggml-cpu : "align corners" for bilinear upscale/downscale (ggml/1285)

* add "align corners" mode for bilinear upscale, and allow downscaling
* add ggml_interpolate, deprecate ggml_upscale_ext, pass in align-corners as bit-flag
* test-backend-ops: replace ggml_upscale_ext with ggml_interpolate, add test cases for downscale and align-corners
ggml/include/ggml.h
ggml/src/ggml-cpu/ops.cpp
ggml/src/ggml.c