R/gen-namespace-docs.R
R/gen-namespace-examples.R
R/gen-namespace.R
torch_conj.Rd
Conj
torch_conj(self)
(Tensor) the input tensor.
Computes the element-wise conjugate of the given input tensor.
input
outi=conj(inputi)
if (torch_is_installed()) { if (FALSE) { # \dontrun{ torch_conj(torch_tensor(c(-1 + 1i, -2 + 2i, 3 - 3i))) } # } }