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

no argpartition op in keras.ops #19547

Closed
jonbarron opened this issue Apr 18, 2024 · 2 comments
Closed

no argpartition op in keras.ops #19547

jonbarron opened this issue Apr 18, 2024 · 2 comments
Assignees
Labels
stat:awaiting keras-eng Awaiting response from Keras engineer type:feature The user is asking for a new feature.

Comments

@jonbarron
Copy link

Hi all, I'm trying to use Keras 3 as a drop-in replacement for numpy, but several ops are missing, such as argpartition. Can this be added? A viable workaround in case torch doesn't have an equivalent op would be to have the torch backend just call np.sort(), as this is sufficient to satisfy the conditions for argpartition (it's a quicksort pivot basically, so fully-sorting the list is overkill but not "wrong").

@fchollet
Copy link
Member

That's in scope for Keras, we can add it.

@sachinprasadhs sachinprasadhs added type:feature The user is asking for a new feature. stat:awaiting keras-eng Awaiting response from Keras engineer labels Apr 19, 2024
@fchollet
Copy link
Member

This is now in the API at HEAD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat:awaiting keras-eng Awaiting response from Keras engineer type:feature The user is asking for a new feature.
Projects
None yet
Development

No branches or pull requests

3 participants