powered by
Marks a tensor as a trainable parameter for backpropagation. The optimizer will compute gradients for this tensor during training.
ggml_set_param(tensor)
The tensor (for chaining)
Tensor pointer
ggml_set_loss, which marks the other end of the backward pass, and ggml_build_backward_expand.
ggml_set_loss
ggml_build_backward_expand