Manifold Regularization for Memory-Efficient Training of Deep Neural Networks