| ggml_conv_2d_direct | R Documentation |
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
)
ctx |
GGML context |
a |
Convolution kernel tensor |
b |
Input data tensor |
s0 |
Stride dimension 0 (default 1) |
s1 |
Stride dimension 1 (default 1) |
p0 |
Padding dimension 0 (default 0) |
p1 |
Padding dimension 1 (default 0) |
d0 |
Dilation dimension 0 (default 1) |
d1 |
Dilation dimension 1 (default 1) |
Convolved tensor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.