Femtojoule optical nonlinearity for deep learning with incoherent illumination