Multifunctional human visual pathway-replicated hardware based on 2D materials | Synapse