tensorly.abs

abs(tensor)

Computes the element-wise absolute value of the given input tensor.

Parameters
tensortensor
Returns
outtensor