View source: R/gen-namespace.R
torch_exp2 | R Documentation |
Exp2
torch_exp2(self)
self |
(Tensor) the input tensor. |
Computes the base two exponential function of input
.
y_{i} = 2^{x_{i}}
if (torch_is_installed()) {
torch_exp2(torch_tensor(c(0, log2(2.), 3, 4)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.