mindspore.Tensor.real

Tensor.real() Tensor[source]

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

Warning

Non-backward-compatible change after version 2.9.0: the real() method will be changed to the real property, and the call pattern will change.