Build the token-mean masked-CE scalar from batched logits [B, T, V] (T = L-1) and the batch's host ids/boundaries.
Build the token-mean masked-CE scalar from batched logits [B, T, V] (T = L-1) and the batch's host ids/boundaries.