| ggml_set_loss | R Documentation |
Marks a tensor as the quantity to differentiate.
ggml_build_backward_expand requires the graph to contain one –
together with at least one ggml_set_param tensor, these are the
two ends of the backward pass.
ggml_set_loss(tensor)
tensor |
Tensor pointer, usually a scalar produced by
|
A graph missing either is rejected with an error rather than aborting inside ggml.
The tensor (for chaining)
ggml_set_param,
ggml_build_forward_expand_grads
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.