Update 'accuracy' metric specification for model.compile to avoid unwanted name override under non TF2 behavior that breaks ModelValidator.
Update 'accuracy' metric specification for model.compile to avoid unwanted name override under non TF2 behavior that breaks ModelValidator.

PiperOrigin-RevId: 280316802

tensorflow/tfx,tensorflow/tfx