A Two-stage Training Framework for Hardware Constraints of Computing-in-Memory Architecture | IEEE Conference Publication | IEEE Xplore