How Does Neural Network Attention Work