Week 1 Jazz djmodel LSTM function

In the function call LSTM(units=n_a, return_state = True)

I have the following error

It seems to me that this error is new or that I am doing wrong? This part of the exercise is very easy and I’m going wrong hehehe ups

Note that n_a is the size of the hidden state, not the actual hidden state, right?

The solution was to pay attention to the following code snipet of the instructions

_, next_hidden_state, next_cell_state = LSTM_cell(inputs=input_x, initial_state=[previous_hidden_state, previous_cell_state])

But paying attention to Paulin’s comment and the function that is being called :wink: