Like the title says, I am looking for a way to be able to constrain the weights leading out of a given neuron to sum to 1. Is there a way to do this as I am getting an error for changing the values needed for gradient computation.