no argpartition
op in keras.ops
#19547
Labels
stat:awaiting keras-eng
Awaiting response from Keras engineer
type:feature
The user is asking for a new feature.
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 forargpartition
(it's a quicksort pivot basically, so fully-sorting the list is overkill but not "wrong").The text was updated successfully, but these errors were encountered: