MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / ggml_calc_conv_output_size

Function ggml_calc_conv_output_size

ggml.c:5262–5264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5260// ggml_conv_1d
5261
5262static 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
5266GGML_API struct ggml_tensor * ggml_conv_1d(
5267 struct ggml_context * ctx,

Callers 1

ggml_im2colFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected