-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Closed
Labels
complex_autogradmodule: complexRelated to complex number support in PyTorchRelated to complex number support in PyTorchtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
>>> x=torch.randn(2,3, dtype=torch.complex64, requires_grad=True)
>>> y=1-x
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/chourdiaanjali/pytorch/torch/tensor.py", line 534, in __rsub__
return _C._VariableFunctions.rsub(self, other)
RuntimeError: rsub does not support automatic differentiation for outputs with complex dtype.
Metadata
Metadata
Assignees
Labels
complex_autogradmodule: complexRelated to complex number support in PyTorchRelated to complex number support in PyTorchtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module