torch_is_floating_point {torch} | R Documentation |
Is_floating_point
Description
Is_floating_point
Usage
torch_is_floating_point(self)
Arguments
self |
(Tensor) the PyTorch tensor to test |
is_floating_point(input) -> (bool)
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
.
[Package torch version 0.13.0 Index]