How to build a preprocessing layer with different preprocessing for each feature?

Hi Team!!

My autoencoder model has numerical, categorical and text features. I am doing a normalization for numerical, custom encoding for categorical and BERT tokenization for text as preprocessing.

I want to build a preprocessing layer with different custom preprocessing for each feature. All the examples on documentation (e.g. https://www.youtube.com/watch?v=GVShIIh3_yE) I see is for uniform attributes like full text or numerical dataset.

Please help me on this.