Djmodel in the Week1 assignment

I got error when I ran the unit test of djmodel, I can’t find out any wrong from my code. Can anyone help me out? Thanks in advance.

It said

AttributeError: The layer "reshape" has multiple inbound nodes, with different output shapes. Hence the notion of "output shape" is ill-defined for the layer. Use `get_output_shape_at(node_index)` instead.

oh, I just figure it out, need to rerun the LSTM_cell = LSTM(n_a, return_state = True) after update the djmodel

2 Likes

Please can you remove code solutions, its against community policy here to share solutions, even if they are wrong!

OK, just updated

1 Like