How to Solve NameError: name 'fashion_mnist' is not defined -- tensorflow

Solution: Import the 'fashion_mnist' module

To Solve the error, add the following line to the top of your code.

from tensorflow.keras.datasets import fashion_mnist

 

For more information:
Python tensorflow fashion_mnist