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