def build_model(tm): inputs = Input(shape=(28, 28, 1)) x = inputs x = Conv2D(32, 3, strides=(1, 1), padding='same', kernel_initializer='he_normal', activation='relu')(x) x = MaxPooling2D(strides=(2, 2))(x) x = Dropout(0.25)(x) x = Conv2D(64, 3, activation='relu')(x) x = MaxPooling2D((2, 2))(x) x = Dropout(0.25)(x) x = Conv2D(128, 3, activation='relu')(x) x..