R/gen-namespace-docs.R
R/gen-namespace-examples.R
R/gen-namespace.R
torch_imag.Rd
Imag
torch_imag(self)
(Tensor) the input tensor.
Returns the imaginary part of the input tensor.
input
Not yet implemented.
$$ \mbox{out}_{i} = imag(\mbox{input}_{i}) $$
if (torch_is_installed()) { if (FALSE) { torch_imag(torch_tensor(c(-1 + 1i, -2 + 2i, 3 - 3i))) } }