Log-linear distribution output layer