ggml_gelu_inplace: GELU Activation In-place (Graph)
Description
Creates a graph node for in-place GELU (Gaussian Error Linear Unit) activation.
CRITICAL for GPT models with memory efficiency.
Usage
ggml_gelu_inplace(ctx, a)
Value
View of tensor a with GELU applied
Arguments
- ctx
GGML context
- a
Input tensor (will be modified in-place)