pool2d float padding fallback

This commit is contained in:
zhangjidong 2024-01-31 10:22:09 +08:00
parent ca4ec6d867
commit 66dd123b0f
2 changed files with 4 additions and 4 deletions

4
ggml.c
View file

@ -5569,8 +5569,8 @@ struct ggml_tensor * ggml_pool_2d(
int k1, int k1,
int s0, int s0,
int s1, int s1,
int p0, float p0,
int p1) { float p1) {
bool is_node = false; bool is_node = false;

4
ggml.h
View file

@ -1600,8 +1600,8 @@ extern "C" {
int k1, int k1,
int s0, int s0,
int s1, int s1,
int p0, float p0,
int p1); float p1);
// nearest interpolate // nearest interpolate
// used in stable-diffusion // used in stable-diffusion