This one workes well in the newest version of Tensorflow 2.x
from tensorflow.python.keras import Sequential from tensorflow.python.keras.layers import Conv2D, Activation,MaxPooling2D