Is it possible to replace one layer with nn.Sequential(...) containing multiple layers?
Example:
net = models.SqueezeNet()
net.features[3] = nn.Sequential(
     nn.Linear(...), 
     nn.ReLU(...), 
     nn.Dropout(...)
)