Accelerating deep learning with lossy compression