Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom method for forward and backward pass #161

Merged
merged 2 commits into from
Nov 16, 2024

Conversation

maxschaller
Copy link
Contributor

This PR adds a new keyword argument custom_method to the Torch and JAX interfaces. It expects a tuple (f, b) where f and b are custom implementations of the forward and backward pass, respectively, in numpy. This will be useful for integration with cvxpygen and other use cases.

@maxschaller maxschaller marked this pull request as ready for review November 16, 2024 02:28
@PTNobel PTNobel merged commit 5722f9c into cvxgrp:master Nov 16, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants