Applies 2D convolution using the direct algorithm (no im2col).
ggml_conv_2d_direct(
ctx,
a,
b,
s0 = 1L,
s1 = 1L,
p0 = 0L,
p1 = 0L,
d0 = 1L,
d1 = 1L
)Convolved tensor
GGML context
Convolution kernel tensor
Input data tensor
Stride dimension 0 (default 1)
Stride dimension 1 (default 1)
Padding dimension 0 (default 0)
Padding dimension 1 (default 0)
Dilation dimension 0 (default 1)
Dilation dimension 1 (default 1)