ImportError: cannot import name ‘LSTM’ from ‘tensorflow.python.keras.layers’
I am trying to build a ML model with LSTM. I want to import the ‘LSTM’ layer. However, my code does not lead to correct results. The error forces me to use ‘LSTMV1’ instead. But, I want to use ‘LSTM’.