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