renamed x to meaningful variable in resnet.py#677
renamed x to meaningful variable in resnet.py#677patrickvonplaten merged 17 commits intohuggingface:mainfrom
Conversation
Hello @patil-suraj can you verify it Thanks
|
The documentation is not available anymore as the PR was closed or merged. |
|
Black says : Cannot parse: 100:34: def init(self, channels=N one, out_channels=None, use_conv=False, fir_kernel=(1, 3, 3, 1)): |
|
Hey @i-am-epic - could you try updating your black version? Re-opening the PR :-) |
i-am-epic
left a comment
There was a problem hiding this comment.
renamed variables x and p
|
This was my first Contribution, |
patil-suraj
left a comment
There was a problem hiding this comment.
Thanks a lot for the PR @i-am-epic ! Here we should only rename the single letter variables. Other names are well chosen so let's not change them. We should update the PR accordingly.
|
@patil-suraj can you verify the updated code |
patil-suraj
left a comment
There was a problem hiding this comment.
Looks good, thank you for working on this. Should be good to merge once the tests pass.
|
Thanks for the guidance and help, |
* renamed single letter variables * renamed x to meaningful variable in resnet.py Hello @patil-suraj can you verify it Thanks * Reformatted using black * renamed x to meaningful variable in resnet.py Hello @patil-suraj can you verify it Thanks * reformatted the files * modified unboundlocalerror in line 374 * removed referenced before error * renamed single variable x -> hidden_state, p-> pad_value Co-authored-by: Nikhil A V <nikhilav@Nikhils-MacBook-Pro.local> Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by: Suraj Patil <surajp815@gmail.com>
* renamed single letter variables * renamed x to meaningful variable in resnet.py Hello @patil-suraj can you verify it Thanks * Reformatted using black * renamed x to meaningful variable in resnet.py Hello @patil-suraj can you verify it Thanks * reformatted the files * modified unboundlocalerror in line 374 * removed referenced before error * renamed single variable x -> hidden_state, p-> pad_value Co-authored-by: Nikhil A V <nikhilav@Nikhils-MacBook-Pro.local> Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com> Co-authored-by: Suraj Patil <surajp815@gmail.com>
Hello @patil-suraj can you verify it
Thanks