Python wrappers
Public Python APIs implemented by this engine symbol.Autograd node for the SiLU / Swish activation (Hendrycks & Gimpel 2016 / Ramachandran et al. 2017).
Saves the input ; the backward delegates to the backend so the fused gradient kernel () runs as a single pass on MLX or a single Accelerate composition on CPU rather than the prior seven-op storage-primitive expansion.
Math
= \sigma(x)\,\bigl(1 + x\,(1 - \sigma(x))\bigr)$$ **References** Hendrycks & Gimpel, "Gaussian Error Linear Units (GELUs)", 2016. Ramachandran et al., "Searching for Activation Functions", 2017.Attributes
schema_v1OpSchema"silu", AmpPolicy::Promote.