sign#

rbc.stdlib.elementwise_functions.sign(a)#

Returns an indication of the sign of a number for each element x_i of the input array x.

Array-API ‘sign’ doc