I want to use MaxPoo1D for a dense layer in the neural network model below but I got this error:
ValueError: Input 0 of layer max_pooling1d_8 is incompatible with