How to implement the following code: nn.Sequential(*list(resnet18().children())[:-3]) it's error like this: <img width="650" alt="QQ20220912-191215@2x" src="https://user-images.githubusercontent.com/31387524/189639826-e52643ae-cf0f-4615-aa24-6fae571be535.png">