| ggml_diag_mask_inf_inplace | R Documentation |
In-place version of ggml_diag_mask_inf. Returns a view of the input tensor.
ggml_diag_mask_inf_inplace(ctx, a, n_past)
ctx |
GGML context |
a |
Input tensor (will be modified in-place) |
n_past |
Number of past tokens |
View of input tensor with elements above diagonal set to -Inf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.