@Fawaz_Sammani
Thank you.
I tried it but it’s little different because in case of resnet, each block layers are seperated so the could be several sequential list index. But I my case except linear layer, the whole layer are in one sequential… so [:1] mean all sequential and [:2] mean whole layer(sequential + linear). ㅜ.ㅜ