Isneginf
Isneginf
torch_isneginf(self)
self |
(Tensor) the input tensor. |
Tests if each element of input
is negative infinity or not.
if (torch_is_installed()) { a <- torch_tensor(c(-Inf, Inf, 1.2)) torch_isneginf(a) }
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.