Isposinf
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) }
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.