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

Allow for specifying axis for optax.projections #1182

Open
JesseFarebro opened this issue Jan 26, 2025 · 1 comment
Open

Allow for specifying axis for optax.projections #1182

JesseFarebro opened this issue Jan 26, 2025 · 1 comment

Comments

@JesseFarebro
Copy link

Currently, you can't specify the axis to take the projection along. Would the Optax authors be open to contributions allowing for specifying the axis of the projections? This would be much easier than having to vmap the projections.

@fabianp
Copy link
Member

fabianp commented Jan 27, 2025

Thanks Jesse! That makes sense to me. Looping in @mblondel who is the original author of the projection module

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

No branches or pull requests

2 participants