Mojo function
elu
elu[dtype: DType, simd_width: Int](x: SIMD[dtype, simd_width]) -> SIMD[dtype, simd_width]
Compute the Elu Op using the equation .
Parameters:
- dtype (DType): DType used for the computation.
- simd_width (Int): SIMD width used for the computation.
Args:
- x (SIMD): The value to compute the ELU operation on.
Returns:
SIMD: The result of the ELU operation.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
