neg method

Tensor neg()

Element-wise negation.

Implementation

Tensor neg() => map((x) => -x);