Ah, sorry the input must be log probs and the targets probs. So logsumexp(inputs, -1) should be 0 and sum(targets, -1) should be 1. I would recommend checking that for a few cases.
Best regards
Thomas