Mixed-precision deep learning based on computational memory — arXiv2