Returns the absolute values of an array of scalars/vectors/tensors.
(narray)
| 171 | |
| 172 | # Python interfaces |
| 173 | def abs (narray) : |
| 174 | "Returns the absolute values of an array of scalars/vectors/tensors." |
| 175 | return numpy.abs(narray) |
| 176 | |
| 177 | def all (narray, axis=None): |
| 178 | "Returns the min value of an array of scalars/vectors/tensors." |