Remove padded examples after scoring by assuming that empty targets at end are padding.
Remove padded examples after scoring by assuming that empty targets at end are padding.

PiperOrigin-RevId: 330703568

tensorflow/mesh,tensorflow/mesh