Training of Deep Neural Networks