-
Notifications
You must be signed in to change notification settings - Fork 89
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
Refactoring to include index_nplike and reducers #1490
Conversation
Codecov Report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this approach!
I'm a 👍 on this as well, it will be good to formally distinguish between index and content nplikes. Minor thought - is it worth using a slightly shorter name like |
7a8d6fe
to
968d875
Compare
We could, although I think that would be easy to do at any time; nplikes are rather internal. Perhaps the At this time, though, @swishdiff needs to finish his project (it's the last week!) and we can consider renaming later. " |
Actually, it's not just a length issue (which, in reality, I don't tend to weight that heavily). I should not have said "shorter", as it implied that length is an important metric. Rather, I find
OK, no problem - it won't take long to do should we see fit at a later date. Good luck @swishdiff! |
JAX segment_prod has some subtleties: jax-ml/jax#9296 We're using the log → sum → exp that they recommend there. |
@jpivarski please merge this when the tests pass. There are two cases in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approve! You can squash-and-merge.
No description provided.