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

Function ggml_calc_pool_output_size

ggml.c:5474–5476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5472// ggml_pool_*
5473
5474static int64_t ggml_calc_pool_output_size(int64_t ins, int ks, int s, float p) {
5475 return (ins + 2 * p - ks) / s + 1;
5476}
5477
5478// ggml_pool_1d
5479

Callers 2

ggml_pool_1dFunction · 0.70
ggml_pool_2dFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected