Week 1 assignment 3: jazz

I’m doing something wrong already in the djmodel function (the 1st graded function); the test gives me:

AttributeError: 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.

If it’s OK to post my code here, please let me know. I must be missing something basic, but I’m just stuck.

Try this thread:
https://community.deeplearning.ai/t/jazz-improvisation-with-lstm-problem/3901/38?u=tmosh

Thanks a lot, I found my mistake.