JaxBackend.abs#

JaxBackend.abs(*args, **kwargs)#

Compute the absolute of array elements.

Parameters:
arrBackendArray

Input data.

outBackendArray, optional

Output array to write the result to. Returns a new array by default.

Returns:
BackendArray

Absolute value of arr.