torch_is_complex {torch} | R Documentation |
Is_complex
Description
Is_complex
Usage
torch_is_complex(self)
Arguments
self |
(Tensor) the PyTorch tensor to test |
is_complex(input) -> (bool)
Returns TRUE if the data type of input
is a complex data type i.e.,
one of torch_complex64
, and torch.complex128
.
[Package torch version 0.13.0 Index]