Traverse through all enum names even if they have duplicate values.
Traverse through all enum names even if they have duplicate values.

PiperOrigin-RevId: 216787178

tensorflow/docs,tensorflow/docs,tensorflow/docs,tensorflow/docs-l10n