-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[MMSIG-80] Update and refine get_flops.py #2237
Conversation
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## dev-1.x #2237 +/- ##
=========================================
Coverage 82.25% 82.26%
=========================================
Files 228 230 +2
Lines 13387 13552 +165
Branches 2268 2301 +33
=========================================
+ Hits 11011 11148 +137
- Misses 1862 1874 +12
- Partials 514 530 +16
Flags with carried forward coverage won't be shown. Click here to find out more. see 21 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
tools/analysis_tools/get_flops.py
Outdated
'--batch-input', | ||
'-c', | ||
type=str, | ||
choices=['none', 'batch'], |
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.
Perhaps the argument can be converted to a boolean type using the store_true
action? Additionally, the option '-c' may no longer be intuitive, as the argument name has been altered.
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.
Perhaps the argument can be converted to a boolean type using the
store_true
action? Additionally, the option '-c' may no longer be intuitive, as the argument name has been altered.
agree! I will update this in the next commit
|
I made some changes in the latest commit:
|
LGTM |
Motivation
MMSIG-80: update and refine get_flops.py
Modification
tools/analysis_tools/get_flops.py
BC-breaking (Optional)
Use cases (Optional)
Checklist
Before PR:
After PR: