Fix a bug in the loss module so that logits that correspond to invalid labels are reset to a value less than all valid scores.
Fix a bug in the loss module so that logits that correspond to invalid
labels are reset to a value less than all valid scores.

PiperOrigin-RevId: 226117518

tensorflow/ranking,tensorflow/ranking