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

Start optax.projections subpackage and add projection_non_negative. #632

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

copybara-service[bot]
Copy link

Start optax.projections subpackage and add projection_non_negative.

In the future, this subpackage will contain more projections (projection_simplex, projection_l1_ball, etc) as well as non-Euclidean projections.

I used typing.Any as a type annotation for pytrees for the time being, as chex.ArrayTree doesn't seem to accept tuples.

@copybara-service copybara-service bot force-pushed the test_581938882 branch 2 times, most recently from 41c6665 to ae3c0a7 Compare November 14, 2023 11:18
In the future, this subpackage will contain more projections (projection_simplex, projection_l1_ball, etc) as well as non-Euclidean projections.

I used typing.Any as a type annotation for pytrees for the time being, as chex.ArrayTree doesn't seem to accept tuples.

PiperOrigin-RevId: 582262439
@copybara-service copybara-service bot merged commit 7316e9b into master Nov 14, 2023
@copybara-service copybara-service bot deleted the test_581938882 branch November 14, 2023 11:32
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.

1 participant