Commit 676c23e6 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower
Browse files

Merge pull request #7884 from miraliahmadli:master

PiperOrigin-RevId: 283114824
parents d49cb9ef a5c96853
......@@ -331,7 +331,7 @@ def shuffle_records(fname):
tmp_fname = fname + ".unshuffled"
tf.gfile.Rename(fname, tmp_fname)
reader = tf.compat.v1.io.tf_record_iterator(tmp_fname)
reader = tf.io.tf_record_iterator(tmp_fname)
records = []
for record in reader:
records.append(record)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment