I want to train a NN but I want the weights of the input layer to obey many constraints, more specifically: