Stability threshold for 2D shear flows near Couette of the Navier-Stokes equation