-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
added unsorted_segment_min
to ivy functional API
#17833
added unsorted_segment_min
to ivy functional API
#17833
Conversation
Hi, thanks for your PR! Please use |
Hey @zhumakhan , thanks for the comment! Can you tell me how to use it for a particular |
Yeah, you are right, decorators check all inputs. Maybe you can try something like this: https://github.com/unifyai/ivy/blob/master/ivy/functional/ivy/general.py#L3163. If you look at its backend implementations they used (e.g. in torch backend) |
Thank you for your insightful suggestion, @zhumakhan !! I found it very useful and have incorporated a similar approach into all |
LGTM! |
Thanks Zuma for the review! |
Close #17437