ggml_silu_back: SiLU Backward (Graph)
Description
Computes the backward pass for SiLU (Swish) activation.
Used during training for gradient computation.
Usage
ggml_silu_back(ctx, a, b)
Value
Gradient tensor for the input
Arguments
- ctx
GGML context
- a
Forward input tensor
- b
Gradient tensor from upstream