Using Pytorch Attention