giagrad.Tensor.abs# Tensor.abs() → Tensor[source]# Returns a new tensor with the absolute value of the elements of data. \[out_i = \lvert data_i \rvert\] Examples >>> Tensor([-1, -2, -3]).abs() tensor: [1. 2. 3.] fn: Abs