View source: R/gen-namespace.R
torch_isposinf | R Documentation |
Isposinf
torch_isposinf(self)
self |
(Tensor) the input tensor. |
Tests if each element of input
is positive infinity or not.
if (torch_is_installed()) {
a <- torch_tensor(c(-Inf, Inf, 1.2))
torch_isposinf(a)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.