Skip updating batchnorm moving vars when there are NaN/Inf values.
Skip updating batchnorm moving vars when there are NaN/Inf values.

PiperOrigin-RevId: 313253468

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