Versatile Weight Attack via Flipping Limited Bits