https://openreview.net/pdf?id=fLIWMnZ9ij
This repo is a short and readable example of computing alignment. If you have questions about reproducing the experiments in the paper you can look at the original code in the paper's supplementary material or contact the first author.