R/gen-namespace-docs.R
R/gen-namespace-examples.R
R/gen-namespace.R
torch_is_complex.Rd
Is_complex
torch_is_complex(self)
(Tensor) the PyTorch tensor to test
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