tensorly.abs

abs(tensor)

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

Parameters:tensor : tensor
Returns:out : tensor