Applies depthwise 2D convolution: each input channel is convolved with its own kernel. Uses the im2col-based path.
ggml_conv_2d_dw(
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
Strides along dim 0 and 1 (default 1)
Padding along dim 0 and 1 (default 0)
Dilation along dim 0 and 1 (default 1)