add ppl to softmax