All-optical nonlinear activation function for photonic neural networks Academic Article uri icon