Skip to content

Use native PyTorch complex number support #17

@anjali411

Description

@anjali411

I noticed that you are using ComplexTensor and ComplexScalar 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions