| ggml_im2col | R Documentation |
Transforms image data into column format for efficient convolution. This is a low-level operation used internally by convolution implementations.
ggml_im2col(
ctx,
a,
b,
s0,
s1,
p0,
p1,
d0,
d1,
is_2D = TRUE,
dst_type = GGML_TYPE_F16
)
ctx |
GGML context |
a |
Convolution kernel tensor |
b |
Input data tensor |
s0 |
Stride dimension 0 |
s1 |
Stride dimension 1 |
p0 |
Padding dimension 0 |
p1 |
Padding dimension 1 |
d0 |
Dilation dimension 0 |
d1 |
Dilation dimension 1 |
is_2D |
Whether this is a 2D operation (default TRUE) |
dst_type |
Output type (default GGML_TYPE_F16) |
Transformed tensor in column format
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.