| 11995 | // ggml_compute_forward_pool_1d |
| 11996 | |
| 11997 | static void ggml_compute_forward_pool_1d( |
| 11998 | const struct ggml_compute_params * params, |
| 11999 | const struct ggml_tensor * src0, |
| 12000 | struct ggml_tensor * dst) { |
| 12001 | |
| 12002 | const int32_t * opts = (const int32_t *)dst->op_params; |
| 12003 | enum ggml_op_pool op = opts[0]; |
| 12004 | const int k0 = opts[1]; |
| 12005 | const int s0 = opts[2]; |
| 12006 | const int p0 = opts[3]; |
| 12007 | GGML_ASSERT(p0 == 0); // padding not supported |
| 12008 | GGML_ASSERT(k0 == s0); // only s = k supported |
| 12009 | |
| 12010 | ggml_compute_forward_pool_1d_sk_p0(params, op, src0, k0, dst); |
| 12011 | } |
| 12012 | |
| 12013 | // ggml_compute_forward_pool_2d |
| 12014 |
no test coverage detected