Cross Attention Mechanism In Neural Networks