Can I change a custom resnet 18 architecture subtly and still use it in pre-trained mode?

I do not know how to apply the answer by @ptrblck to this case