CHARLES: A C++ fixed-point library for Photonic-Aware Neural Networks

Emilio Paolini1, Lorenzo De Marinis2, Luca Maggiani3

  • 1Scuola Superiore Sant'Anna, Pisa, 56124, Italy; National Research Council of Italy - Institute of Electronics, Information Engineering and Telecommunications (CNR-IEIIT), Pisa, 56122, Italy; Sma-RTy Italia Srl, Carugate, 20061, Italy.

Summary

We introduce CHARLES, a C++ library for simulating Photonic-Aware Neural Networks (PANNs). Fixed-point training significantly improves PANN inference accuracy on low bitwidths compared to floating-point training.