Learn R Programming

ggmlR (version 0.6.1)

ggml_silu_inplace: SiLU Activation In-place (Graph)

Description

Creates a graph node for in-place SiLU (Sigmoid Linear Unit) activation. CRITICAL for LLaMA models with memory efficiency.

Usage

ggml_silu_inplace(ctx, a)

Value

View of tensor a with SiLU applied

Arguments

ctx

GGML context

a

Input tensor (will be modified in-place)