View source: R/gen-namespace.R
torch_imag | R Documentation |
Imag
torch_imag(self)
self |
(Tensor) the input tensor. |
Returns the imaginary part of the input
tensor.
Not yet implemented.
\mbox{out}_{i} = imag(\mbox{input}_{i})
if (torch_is_installed()) {
## Not run:
torch_imag(torch_tensor(c(-1 + 1i, -2 + 2i, 3 - 3i)))
## End(Not run)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.