i have a pretrained model and want to see list of the names (parameters, netwoeks, etc) in my model
how I can do that?
pretrain = torch.load(address.pth')
checkpoint = pretrain['model']
how to know the name of the weights, so i can use them later for loading?

if my question is vague let me explain what im looking for
lets say i have a model including network like:
Conv1 = conv2d(...)
Conv2 = conv2d(...)

after saving the model, how i can see the list of names, such as Conv1, and Conv2