| ggml_rwkv_wkv7_back | R Documentation |
Gradients of ggml_rwkv_wkv7 with respect to all seven of its
inputs, packed in forward source order:
[d_r | d_w | d_k | d_v | d_a | d_b | d_state].
ggml_rwkv_wkv7_back(ctx, r, w, k, v, a, b, state, grad)
ctx |
GGML context |
r, w, k, v, a, b, state |
The tensors passed to the forward recurrence |
grad |
Gradient w.r.t. the packed forward result |
A flat tensor holding the seven gradients, concatenated
ggml_rwkv_wkv7
Other state-space:
ggml_gated_linear_attn(),
ggml_gated_linear_attn_back(),
ggml_rwkv_output(),
ggml_rwkv_wkv6(),
ggml_rwkv_wkv6_back(),
ggml_rwkv_wkv7(),
ggml_ssm_conv(),
ggml_ssm_conv_back(),
ggml_ssm_scan(),
ggml_ssm_scan_back(),
ggml_ssm_scan_output()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.