How to preprocess input for pre trained networks?

Thank you very much!