vscode-pytorch
vscode-pytorch copied to clipboard
'freeze' syntax is incorrect and PyTorch won't tell you
https://github.com/SvenBecker/vscode-pytorch/blob/6cdf65101dfaf66609fa94387c57b12282d7ac77/snippets/pytorch.json#L192
This should be requires_grad (with s on the end). The worst thing is that PyTorch does not complain about it and keeps all params "trainable".