•
pytorch-doc-2.5中文文档
首页
/
pytorch文档
/
torch.Tensor.is_complex()
is_complex(torch.Tensor)
Tensor.is_complex
(
)
→
bool
如果
self
的数据类型是复数类型,则返回 True。
本页目录
is_complex(torch.Tensor)