Rate this Page

torch.Tensor.is_complex#

Tensor.is_complex() bool#

Returns True if the data type of self is a complex data type.