Mojo module
activations
The module contains implementations of activation functions.
Functions
-
elu
: Compute the Elu Op using the equation . -
gelu
: Compute the GELU Op using the equation . -
gelu_approximate
: Compute the approximate GELU Op using the equation . -
relu
: Compute the Relu Op using the equation . -
relu_n1
: Compute the Relu N1 Op using the equation . -
sign
: Compute the sign (0, 1) of the input value.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!