Here is the code that i found from Andrew Ng deeplearning specialization course:
def HappyModel(input_shape):
X_input = Input(input_shape) X = ZeroPad