arnabsanyal/lnsdnn has the log-domain core in C (an OpenMP log-multiplier with a Python wrapper) and MLP experiments for all four datasets, in floating and fixed point, in both the linear and log domains. Trained models are stored with Git LFS.
conda env create -f setup/environment.yml
conda activate lnsdnn
cd src && python setup.py install
cd 3_log_floatingpoint/mnist
python download_data.py # fetch the dataset (see note below)
python train.py # inference with the included model
python train.py --is_training True # train from scratch
The release is still in progress: the bit-shift experiments are not yet in the repository, and the dataset downloads need re-hosting. The README tracks what is left.



