Microsoft interview question

Explain Attention Mechanism, BatchNorm and Layer Norm. Explain Encoder and Decoder in Transformers