How much of the complex API is actually supported on Torch?
1.4.0 Documentation
>>> torch.real(torch.tensor([-1 + 1j, -2 + 2j, 3 - 3j]))
tensor([ -1,  -2,  3])

Running on Colab, Torch version: 1.4.0
RuntimeError                              Traceback (most recent call last)
<ipython-input-65-6ab8515aa959> in <module>()
----> 1 torch.real(torch.tensor([-1 + 1j, -2 + 2j, 3 - 3j]))

RuntimeError: Could not infer dtype of complex