Synaptic Barristor Based on Phase‐Engineered 2D Heterostructures