How to Solve NameError: name 'LSTM' is not defined -- tensorflow

Solution: Import the 'LSTM' module

To Solve the error, add the following line to the top of your code.

from tensorflow import LSTM

 

For more information:
Python tensorflow LSTM