| ggml_cross_entropy_loss_back | R Documentation |
Gradient node for ggml_cross_entropy_loss.
ggml_cross_entropy_loss_back(ctx, a, b, c)
ctx |
GGML context |
a |
Upstream gradient |
b |
Logits from the forward pass |
c |
Labels from the forward pass |
ggml_build_backward_expand() inserts this automatically, so it is
rarely needed directly; it is exposed for hand-built backward graphs.
Gradient w.r.t. the logits
ggml_cross_entropy_loss
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.