Dual‐Mode Semiconductor Device Enabling Optoelectronic Detection and Neuromorphic Processing with Extended Spectral Responsivity | Synapse