Integration of Programmable Diffraction with Digital Neural Networks