How to Solve NameError: name 'int_shape' is not defined -- keras
Solution: Import the 'int_shape' module
To Solve the error, add the following line to the top of your code.
from keras.backend import int_shape
For more information:
Python keras int_shape