mindspore.Tensor.neg

Tensor.neg()[source]

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