Tensorflow tf.data AUTOTUNE - Stack Overflow
stackoverflow.com › questions › 56613155Jun 15, 2019 · The number of elements to prefetch should be equal to (or possibly greater than) the number of batches consumed by a single training step. You could either manually tune this value, or set it to tf.data.experimental.AUTOTUNE which will prompt the tf.data runtime to tune the value dynamically at runtime. What is AUTOTUNE doing internally?
Module: tf.data.experimental | TensorFlow Core v2.7.0
www.tensorflow.org › python › tfExperimental API for building input pipelines. This module contains experimental Dataset sources and transformations that can be used in conjunction with the tf.data.Dataset API. Note that the tf.data.experimental API is not subject to the same backwards compatibility guarantees as tf.data, but we will provide deprecation advice in advance of ...