joao_marques:

Regarding this piece of code, I would love to know what tf.data.AUTOTUNE does.


Regarding tf.data.Dataset.map with AUTOTUNE, check out the Parallelizing data transformation section of the Better performance with the tf.data API 1 guide.