jax.lax.abs#

jax.lax.abs(x)[source]#

Elementwise absolute value: \(|x|\).

Parameters

x (Union[Array, ndarray, bool_, number, bool, int, float, complex]) –

Return type

Array