Course 5 Week 1 lstm_cell_backward

I am having some trouble with my lstm_cell_backward function. Not sure what is causing this IndexError

Has anybody else encountered this issue? I am still stuck.

Hi TheLonelyChemE,

Have a look at how you calculate dbf. Which axis should you use along which to sum the gate derivatives?