]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml-cpu : "align corners" for bilinear upscale/downscale (#1285)
authorAcly <redacted>
Tue, 1 Jul 2025 07:11:00 +0000 (09:11 +0200)
committerGitHub <redacted>
Tue, 1 Jul 2025 07:11:00 +0000 (09:11 +0200)
commit67ad436cb653ac1ef0986f9fb0c6191ec828d1ed
treee4b49a56b6c0072e3e6f4018c3eef0a00e8dd127
parent14147d683fb9d95444b43747d03b1b3bc5234714
ggml-cpu : "align corners" for bilinear upscale/downscale (#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
include/ggml.h
src/ggml-cpu/ops.cpp
src/ggml.c
tests/CMakeLists.txt
tests/test-backend-ops.cpp
tests/test-interpolate.cpp [new file with mode: 0644]