The Attention Mechanism in Vision and Language Analysis