this is not possible in pytorch. In pytorch, you might want to implement net2net as a utility function, that the user explicitly uses in their program. It’ll take weights of a Conv2d layer (or Linear layer) and return a new Conv2d layer that’s wider, or a Sequential of 2 Conv2d layers.