A Pytorch implementation of the local relational layer from Local Relational Networks for Image Recogntion [paper]. The notebook is there so you can try it out on [Colab].
pip install <pytorch-latest.whl url>
To use the layer:
from layer import LocalRelationalLayer