| ggml_rope_inplace | R Documentation |
In-place version of ggml_rope. Returns a view of the input tensor.
ggml_rope_inplace(ctx, a, b, n_dims, mode = 0L)
ctx |
GGML context |
a |
Input tensor (will be modified in-place) |
b |
Position tensor (int32) |
n_dims |
Number of dimensions to apply rotation to |
mode |
RoPE mode |
View of input tensor with RoPE applied
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.