message: [tf.data] Deprecate tf.data.experimental.TFRecordWriter.
diff: @@ -23,10 +23,15 @@ from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.ops import gen_experimental_dataset_ops
  +from tensorflow.python.util import deprecation
  from tensorflow.python.util.tf_export import tf_export
  @tf_export("data.experimental.TFRecordWriter")
  +@deprecation.deprecated(
  + None, "To write TFRecords to disk, use `tf.io.TFRecordWriter`. To save "
  + "and load the contents of a dataset, use `tf.data.experimental.save` "
  + "and `tf.data.experimental.load`")
  class TFRecordWriter(object):
  """Writes a dataset to a TFRecord file.
  