Python Probabilistic-Hard-Attention Resources