Text this: Non-Hebbian learning implementation in light-controlled resistive memory devices.