Text this: Optoelectronic array of photodiodes integrated with RRAMs for energy-efficient in-sensor computing