Training Deep Neural Networks with Constrained Learning Parameters