Skip to content

Feat: added forward/adjoint to TorchOperator#750

Open
mrava87 wants to merge 7 commits into
PyLops:devfrom
mrava87:feat-torchopadjoint
Open

Feat: added forward/adjoint to TorchOperator#750
mrava87 wants to merge 7 commits into
PyLops:devfrom
mrava87:feat-torchopadjoint

Conversation

@mrava87
Copy link
Copy Markdown
Collaborator

@mrava87 mrava87 commented May 28, 2026

This PR adds two new methods to TorchOperator, namely forward (just alias for apply or call) and adjoint, which applies the adjoint and dispatches the forward in AD.

This allow writing forward passes that use both forward and adjoint of a PyLops operator wrapped into a TorchOperator.

@mrava87 mrava87 self-assigned this May 28, 2026
@mrava87 mrava87 added the enhancement New feature or request label May 28, 2026
@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented May 28, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@mrava87 mrava87 changed the title feat: added forward/adjoint to TorchOperator Feat: added forward/adjoint to TorchOperator May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant