]> git.djapps.eu Git - pkg/ggml/sources/llama.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 08:06:39 +0000 (11:06 +0300)
commit431b2c24f31bf5411786c378b409d0202df8d53c
treed2d5c218995d14d6514c7e3c505229cf5826211a
parent497be7c01dab243100f9c42e0a763a746e42d038
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
tests/test-backend-ops.cpp