View source: R/gen-namespace.R
| torch_is_floating_point | R Documentation |
Is_floating_point
torch_is_floating_point(self)
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.