Reconfigurable all-optical nonlinear activation functions for neuromorphic photonics | Synapse