Normalize works on tensors, so ToTensor() should be applied before it.
I’m not sure, why your notebook isn’t raising an error, but if you are running it in your terminal directly, you should get a proper error message.