I did everything with already imported modules in conv_block(inputs=None, n_filters=32, dropout_prob=0, max_pooling=True) but I get enough strange error
ValueError: Output tensors of a Functional model must be the output of a TensorFlow Layer
(thus holding past layer metadata). Found: <keras.layers.pooling.max_pooling2d.MaxPooling2D object at 0x7fe38c462100>