reproduce https://github.com/dannyneil/spiking_relu_conversion matlab code
cite “Diehl, P.U. and Neil, D. and Binas, J. and Cook, M. and Liu, S.C. and Pfeiffer, M. Fast-Classifying, High-Accuracy Spiking Deep Networks Through Weight and Threshold Balancing, IEEE International Joint Conference on Neural Networks (IJCNN), 2015”
pytorch ANN to pytorch SNN.
I hope you like it.
For newer update and work, please turn to my paper and supplementary code https://github.com/DingJianhao/OptSNNConvertion-RNL-RIL.