Code reformating to display optional parameters
Hi,
I haven't found it in the documentation or on the forum, but is there a way to configure PyCharm so that using the Reformat Code option, it automatically add the optional paramaters names.
For example :
This (where only the first 2 parameters are necessary) :
nn.Conv2d(2, 4, 4, 2, 1, bias=False)
would be replaced by this
nn.Conv2d(2, 4, kernel_size=4, stride=2, padding=1, bias=False)
Thanks in advance
Please sign in to leave a comment.