Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Conversation

arcAman07
Copy link

@arcAman07 arcAman07 commented Sep 20, 2022

I was running the pytest command at the root of the dir and I found an import error of AUTOTUNE. According to the TensorFlow 2.3 documentation, AUTOTUNE lies under the tensorflow.data.experimental rather tensorflow.data. This fixes that error.
Signed off @arcAman07
Tagging the maintainers for review : @owenvallis

@owenvallis
Copy link
Contributor

is tf.data.AUTOTUNE a breaking import in 2.3? The official docs import as tf.data.AUTOTUNE for current versions of TF. See here https://www.tensorflow.org/guide/data_performance#prefetching

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants