Returns a view of input
with a flipped conjugate bit. If input
has a non-complex dtype, this function just returns input
.
Warning
In the future, torch.conj()
may return a non-writeable view for an input
of non-complex dtype. It’s recommended that programs not modify the tensor returned by torch.conj_physical()
when input
is of non-complex dtype to be compatible with this change.
input (Tensor) – the input tensor.
Example:
>>> x = torch.tensor([-1 + 1j, -2 + 2j, 3 - 3j]) >>> x.is_conj() False >>> y = torch.conj(x) >>> y.is_conj() True
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4