Code to accompany the paper Learning Compressed Transforms with Low Displacement Rank.
Python 3.6+
PyTorch >=0.4.1
Some functions are written in CUDA for speed. To install them:
cd pytorch/structure/hadamard_cuda
python setup.py install
cd pytorch/structure/diag_mult_cuda
python setup.py install
See our PyTorch section.