ggml_pool_2d method
Pointer<ggml_tensor>
ggml_pool_2d(
- Pointer<
ggml_context> ctx, - Pointer<
ggml_tensor> a, - ggml_op_pool op,
- int k0,
- int k1,
- int s0,
- int s1,
- double p0,
- double p1,
Implementation
ffi.Pointer<ggml_tensor> ggml_pool_2d(
ffi.Pointer<ggml_context> ctx,
ffi.Pointer<ggml_tensor> a,
ggml_op_pool op,
int k0,
int k1,
int s0,
int s1,
double p0,
double p1,
) {
return _ggml_pool_2d(
ctx,
a,
op.value,
k0,
k1,
s0,
s1,
p0,
p1,
);
}