abs#

rbc.stdlib.elementwise_functions.abs(a)#

Calculates the absolute value for each element x_i of the input array x (i.e., the element- wise result has the same magnitude as the respective element in x but has positive sign).

Array-API ‘abs’ doc