Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


torch (version 0.14.1)

torch_conj: Conj

Description

Conj

Usage

torch_conj(self)

Arguments

self

(Tensor) the input tensor.

conj(input) -> Tensor

Computes the element-wise conjugate of the given input tensor.

outi=conj(inputi)

Examples

Run this code
if (torch_is_installed()) {
if (FALSE) {
torch_conj(torch_tensor(c(-1 + 1i, -2 + 2i, 3 - 3i)))
}
}

Run the code above in your browser using DataLab