| ggml_roll | R Documentation |
Circularly shifts tensor elements along dimensions 0..3.
ggml_roll(ctx, a, shift0 = 0L, shift1 = 0L, shift2 = 0L, shift3 = 0L)
ctx |
GGML context |
a |
Input tensor |
shift0, shift1, shift2, shift3 |
Shift amount along each dimension |
Rolled tensor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.