Hi, it seems that my very elementary complex exponential does not support Autograd :
z = torch.tensor([1.1-2j], requires_grad=True)
f = torch.exp(z)
gives me a RunTimeError :
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-31-69abc9207ce8> in <module>
1 z = torch.tensor([1.1-2j], requires_grad=True)
----> 2 f = torch.exp(z)
RuntimeError: exp does not support automatic differentiation for outputs with complex dtype.
How can I use Autograd with complex functions in general, and with the elementary complex exponential in particular ?
Thank you,
S