clip threshold needs to be multiplied with the number of samples because the gradients saved are the sum in stead of the average
clip threshold needs to be multiplied with the number of samples because the gradients saved are the sum in stead of the average

kaishengyao/cnn,kaishengyao/cnn