| ggml_repeat_back | R Documentation |
Backward pass for repeat operation - sums repetitions back to original shape. Used for gradient computation during training.
ggml_repeat_back(ctx, a, b)
ctx |
GGML context |
a |
Input tensor (gradients from repeated tensor) |
b |
Target shape tensor (original tensor before repeat) |
Tensor with summed gradients matching shape of b
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.