Open anjali411 opened 2 years ago
Thanks. If you are interested to contribute changes we will be happy to switch to native pytorch complex number.
However, note that we are not developing this library further because we have added full GPU support in pylops via a cupy backend. I am going to update the README file to make people aware of this :)
I noticed that you are using
ComplexTensor
andComplexScalar
classes to store complex numbers https://github.com/PyLops/pylops-gpu/blob/eed70f1973f01f31ef905fe09bb88c8783fd9681/pylops_gpu/utils/complex.py However, that's not necessary since latest releases of PyTorch (1.7 and after) support native complex support with specialized kernels for complex numbers for most PyTorch ops!