How to Solve NameError: name 'Input' is not defined -- keras

Solution: Import the 'Input' module

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

from keras.layers import Input

 

For more information:
Python keras Input