mindspore.Tensor.sgn

Tensor.sgn()[source]

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