DLS C5 WEEK1 A3 - The layer "lstm" has multiple inbound nodes

The layer “lstm” 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.
I have the error above and it is still unresolved after I re-run all cells,I have no clue what to do next. I would appreciate it if you can give me some tips.

If I use x=x[:,t,:] and rerun after restart then I get this problem.


You must keep straight when to use ‘X’ or ‘x’.

1 Like

After fixed the slicing of X[:,t,:] make sure to rerun the previous cell that define reshaper, LSTM_cell, & densor

1 Like