pytorch save pruned model. For example, we will take Resnet50 but