Commit a3369cd4 authored by Hongkun Yu's avatar Hongkun Yu Committed by A. Unique TensorFlower
Browse files

Remove repeating prefetch.

PiperOrigin-RevId: 337242735
parent 7a6a8741
......@@ -277,8 +277,6 @@ class InputReader:
service=self._tf_data_service_address,
job_name=self._tf_data_service_job_name))
dataset = dataset.prefetch(buffer_size=tf.data.experimental.AUTOTUNE)
if self._deterministic is not None:
options = tf.data.Options()
options.experimental_deterministic = self._deterministic
......
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