-
Notifications
You must be signed in to change notification settings - Fork 742
custom comparator support in calculate_numeric_gap #15969
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15969
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit ffb03ca with merge base 3ce840c ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@Gasoonjia has exported this pull request. If you are a Meta employee, you can view the originating Diff in D87840446. |
winskuo-quic
left a comment
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.
Thanks for supporting this feature and providing users more flexibility!
| Args: | ||
| distance: The metrics the inspector will use for gap calculation. Should be one of "MSE", "L1" and "SNR". | ||
| distance: The metrics the inspector will use for gap calculation. Can be either: | ||
| - A string: one of "MSE", "L1", or "SNR" for built-in comparators. |
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.
Should this be - A string: one of "MSE", "L1", "SNR", or user-defined comparators?
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 separated the bulit-in comparators and custom comparators into two lines
Summary: Enable users to define their own metrics for numeric gap. Differential Revision: D87840446
a730526 to
68cde50
Compare
Summary: Enable users to define their own metrics for numeric gap. Differential Revision: D87840446
68cde50 to
406a4e7
Compare
This PR needs a
|
Summary: Enable users to define their own metrics for numeric gap. Differential Revision: D87840446
406a4e7 to
ffb03ca
Compare
Differential Revision: D87840446 Pull Request resolved: pytorch#15969
Summary: Enable users to define their own metrics for numeric gap.
Differential Revision: D87840446