Rate this Page

torch.Tensor.is_complex#

Tensor.is_complex()bool#

Returns True if the data type ofself is a complex data type.