torch.
is_complex
Returns True if the data type of input is a complex data type i.e., one of torch.complex64, and torch.complex128.
input
torch.complex64
torch.complex128
input (Tensor) – the input tensor.
此页内容是否对您有帮助
感谢反馈!