This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
Fixed typo on line 75 of nni/nas/pytorch/mutables.py #3538
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This Pull Request fixes a typo on
line 75 of nni/nas/pytorch/mutables.py
.While I was reading the source code, I wondered whether this is a typo, as shown below:
Should
"_key"
beself._key
because this method is supposed to return a key/name of a mutable?The Issue seems to be very minor but it improves the readability of the Code and fixes a typo on
line 75 of nni/nas/pytorch/mutables.py
issue in Python 3 which happens to be a standard.I'm a First-Time Contributor to Microsoft Open-Source so it would be helpful for me understanding how PR workflow works and help me step up in future contributions as well.
Fixes: #3515
@ultmaster @liuzhe-lz Can you review this PR and let me know?