This is much cleaner if it's in the Metadata writer itself.
This is much cleaner if it's in the Metadata writer itself.

PiperOrigin-RevId: 209208090

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