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

Solution: Import the 'Sequential' module

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

from tensorflow.keras.models import Sequential

 

For more information:
Python tensorflow Sequential