Inverse design of grating coupler (2D)