Gate‐Tunable Dual‐Mode Optoelectronic Device for Self‐Powered Photodetector and Optoelectronic Synapse | Synapse