powered by
Is_floating_point
torch_is_floating_point(self)
(Tensor) the PyTorch tensor to test
Returns TRUE if the data type of input is a floating point data type i.e., one of torch_float64, torch.float32 and torch.float16.
input
torch_float64
torch.float32
torch.float16