| 5260 | // ggml_conv_1d |
| 5261 | |
| 5262 | static int64_t ggml_calc_conv_output_size(int64_t ins, int64_t ks, int s, int p, int d) { |
| 5263 | return (ins + 2 * p - d * (ks - 1) - 1) / s + 1; |
| 5264 | } |
| 5265 | |
| 5266 | GGML_API struct ggml_tensor * ggml_conv_1d( |
| 5267 | struct ggml_context * ctx, |