ggml_pool_2d method

Pointer<ggml_tensor> ggml_pool_2d(
  1. Pointer<ggml_context> ctx,
  2. Pointer<ggml_tensor> a,
  3. int op,
  4. int k0,
  5. int k1,
  6. int s0,
  7. int s1,
  8. double p0,
  9. double p1,
)

Implementation

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