torch.Tensor.Tensor.is_complex Tensor.is_complex(): boolean Returns true if the tensor has a complex dtype (complex64). Returns boolean See Also PyTorch tensor.is_complex()