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

Fix NHNet input pipeline.

PiperOrigin-RevId: 310251449
parent 3097fd2a
......@@ -208,7 +208,7 @@ def create_dataset(file_paths,
else:
dataset = process_singledoc_transformer_dataset(dataset, batch_size,
params)
dataset = dataset.prefetch(1024)
dataset = dataset.prefetch(tf.data.experimental.AUTOTUNE)
return dataset
......
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