Optoelectronic Synapses Based on MoS2 Transistors for Accurate Image Recognition