Hard Attention And Soft Attention