Fig. 5: Photonic neural network with nonlinear accelerator.

a Schematic illustration of MNIST handwritten digit classifier based on photonic neural network accelerated by Opto-Resistive RAM Switch-based nonlinear accelerator. b the testing accuracy of photonic neural network architecture on MINST dataset, as a function of layer number. c The calculated loss at each epoch during the learning procedure with five layers. d The confusion matrix of photonic neural network. (ORS-PNN Photonic Neural Network with Opto-Resistive RAM Switch-Based Nonlinear Accelerator, O/E Optical-to-Electrical Convertors, E/O Electrical-to-Optical Convertors, WL Weighting Layer, NL Nonlinear Layer, DL Drop Layer, PD Photodetectors)