-
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
class_center_sample #21628
class_center_sample #21628
Conversation
Thanks for contributing to Ivy! 😊👏 |
If you are working on an open task, please edit the PR description to link to the issue you've created. For more information, please check ToDo List Issues Guide. Thank you 🤗 |
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.
Hey @teckno
Check the comments below
@to_ivy_arrays_and_back | ||
@with_supported_dtypes({"2.5.1 and below": ("float32", "float64")}, "paddle") | ||
def class_center_sample ( label, num_classes, num_samples, group=None ): | ||
return ivy.class_center_sample( label, num_classes, num_samples, group=group ) |
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.
Ivy doesn't have this function implemented on our API
test_flags, | ||
): | ||
dtype, x, weight, bias = dtype_x_weight_bias | ||
weight = ivy.swapaxes(weight, -1, -2) |
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.
Ivy dependency should be removed
This PR has been labelled as stale because it has been inactive for more than 7 days. If you would like to continue working on this PR, then please add another comment or this PR will be closed in 7 days. |
Thank you for this PR, here is the CI results: This pull request does not result in any additional test failures. Congratulations! |
No description provided.