‘classifier’ is a key of the layer.

(classifier): Sequential(
…
)

So, you can refer to a sequence of a specific layer by its key.
Perhaps, ResNet has a different key name to VGG in its implementation.
@cad8bd801dfbc87c5d0f