ggml_im2col method

Pointer<ggml_tensor> ggml_im2col(
  1. Pointer<ggml_context> ctx,
  2. Pointer<ggml_tensor> a,
  3. Pointer<ggml_tensor> b,
  4. int s0,
  5. int s1,
  6. int p0,
  7. int p1,
  8. int d0,
  9. int d1,
  10. bool is_2D,
)

Implementation

ffi.Pointer<ggml_tensor> ggml_im2col(
  ffi.Pointer<ggml_context> ctx,
  ffi.Pointer<ggml_tensor> a,
  ffi.Pointer<ggml_tensor> b,
  int s0,
  int s1,
  int p0,
  int p1,
  int d0,
  int d1,
  bool is_2D,
) {
  return _ggml_im2col(
    ctx,
    a,
    b,
    s0,
    s1,
    p0,
    p1,
    d0,
    d1,
    is_2D,
  );
}