I found one post here: How the pytorch freeze network in some layers, only the rest of the training? 580 but it does not answer my question. If I create a layer called conv1 = nn.Conv2d(3,3,2), then how do I freeze this specific layer?