@ptrblck Yes, I just want to use a pretrained model, and replace its final layers with my defined layer. My question is if I modify this model out of the model class (such as Example 1), then the output is calculated as:
output = net1.fc(net1(input))

However, the fc layer is not in the forward function. Will this influence the backward function?