No, I didn’t. I thought those are newly added in pytorch version 1.5.
Then, it might be added by thop package (link 7) because it counts ops and params.
But I don’t know why those values are added as a member variable in each module in pytorch 1.5 and not in 1.1.
I found that it happens when I call thop.profile before loading state_dict.
I could solve it by just moving thop.profile after the loading.