评价此页

torch.Tensor.is_complex#

Tensor.is_complex() bool#

返回 self 的数据类型是否为复数类型。