input_1 = layers.Input(shape=(3197, 1)) x = layers.GRU(32, return_sequences=True)(input_1) x = layers.Flatten()(x) x = layers.Dropout(0.5)(x)