mindspore.Tensor.neg

Tensor.neg() → Tensor

For details, please refer to mindspore.ops.neg().