-
Notifications
You must be signed in to change notification settings - Fork 79
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
Fix code issues reported by codacy #808
Conversation
Deleted unused imports os, pickle that are reported by codacy
Deleted the unused "MSELoss" and "L1loss" imported from "torch.nn". These are reported by codacy
Deleted (put in comments) the parameters_temp variable. It is reported by codacy.
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅ |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #808 +/- ##
==========================================
- Coverage 95.10% 95.09% -0.01%
==========================================
Files 122 122
Lines 8347 8344 -3
==========================================
- Hits 7938 7935 -3
Misses 409 409
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
pytest CI workfolw fails beause of new version of |
Ah okay, seems like the CLA is now passing. There are issues with the other integration tests (unit tests and linting) which are preventing the merge. |
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.
LGTM 👍
Fixes #800
Proposed Changes
Checklist
CONTRIBUTING
guide has been followed.typing
is used to provide type hints, including and not limited to usingOptional
if a variable has a pre-defined value).pip install
step is needed for PR to be functional), please ensure it is reflected in all the files that control the CI, namely: python-test.yml, and all docker files [1,2,3].