Hi, I am using the following function for lstm rnn cell.
def LSTM_RNN(_X, _istate, _weights, _biases): # Function returns a tensorflow LSTM (RNN) artificial neural network from given parameters. # Note, some code of this notebook is inspired from an slightly different # RNN architecture used on another dataset: # https:
The output of the function is stored in the variable pred.
pred = LSTM_RNN(x, istate, weights, biases)
But it shows the following error. (which claims that the tensor object is not iterable.)
Here is the image link ERROR - http://imgur.com/a/NhSFK
Please help me with this, and I apologize if this question seems silly, as I'm pretty new to the lstm and tensor thread library.
Thanks.
source share