Adding Dropout to testing/inference phase
I've trained the following model for some timeseries in Keras: input_layer = Input(batch_shape=(56, 3864)) first_layer = Dense(24, input_dim=28, activation='relu', activity_regularizer=None, kernel_regularizer=None)(input_layer) first_layer = Dropout(0.3)(first_layer) second_layer = Dense(12, activation='relu')(first_layer) second_layer = Dropout(0.3)(second_layer) out = Dense(56)(second_layer) model_1 = Model(input_layer, out) Then I defined a new model with the trained layers of model_1 and added dropout layers with a different rate, drp , to it: input_2 = Input(batch_shape=(56, 3864)) first