잘 이해를 못했는데 다시 한번 적어주실 수 있나요?
So, from what I understand, you want to change some modules within the nn.sequential module?
if so, I think you can change module with following
model._modules[wanted_change_idx] = <ANY MODULE YOU WANT (but it needs to be in correct shape>