Structure discrepancy of an LSTM?
There are different variants of LSTM, in most ML packages now of days you'll probably see what's shown in the bottom picture. For more details, intuition and motivations please see this paper. 
It is not reshaped and there is no softmax layer. That is all done outside the LSTM.