ggml_conv_2d_s1_ph method
Pointer<ggml_tensor>
ggml_conv_2d_s1_ph(
- Pointer<
ggml_context> ctx, - Pointer<
ggml_tensor> a, - Pointer<
ggml_tensor> b
kernel size is a->ne0
x a->ne1
stride is 1
padding is half
example:
a: 3 3 256 256
b: 64 64 256 1
res: 64 64 256 1
used in sam
Implementation
ffi.Pointer<ggml_tensor> ggml_conv_2d_s1_ph(
ffi.Pointer<ggml_context> ctx,
ffi.Pointer<ggml_tensor> a,
ffi.Pointer<ggml_tensor> b,
) {
return _ggml_conv_2d_s1_ph(
ctx,
a,
b,
);
}