def create_hartmann_cnn(input_shape, kernel_regularizer=None):
    return Sequential([Conv2D(filters=32, kernel_size=5, input_shape=input_shape), Activation('tanh'), MaxPooling2D(pool_size=(2, 2)), Conv2D(filters=64, kernel_size=5), Activation('tanh'), MaxPooling2D(pool_size=(2, 2))])
def create_hartmann_cnn(input_shape, kernel_regularizer=None):
    return Sequential([Conv2D(filters=32, kernel_size=5, input_shape=input_shape), Activation('tanh'), MaxPooling2D(pool_size=(2, 2)), Conv2D(filters=64, kernel_size=5), Activation('tanh'), MaxPooling2D(pool_size=(2, 2))])