//clika-runtime/io.clika.runtime/Ops/gelu
gelu
[common]
fun gelu(input: Tensor, approximate: GeluMode = GeluMode.NONE): Tensor
gelu(input: Tensor, approximate: GeluMode = GeluMode.NONE): the gelu operator. Gaussian error linear unit. approximate = GeluMode::Tanh selects the cheaper tanh form used by many transformer checkpoints; GeluMode::None is the exact erf form.