Skip to content

glomerulus-lab/structured-nets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

structured-nets

Code to accompany the paper Learning Compressed Transforms with Low Displacement Rank.

Requirements

Python 3.6+

PyTorch >=0.4.1

Installing CUDA Extensions

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

Example Usage

See our PyTorch section.

About

Structured matrices for compressing neural networks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.2%
  • Cuda 1.3%
  • C++ 0.5%