Compute num_samples_in_batch/num_predictions only if it is not already in metrics.
Compute num_samples_in_batch/num_predictions only if it is not already in metrics.

PiperOrigin-RevId: 361745955

tensorflow/lingvo,tensorflow/lingvo,tensorflow/lingvo,tensorflow/lingvo