Error in "Don't unroll the adjoint" paper?

Referring to the paper

I see this passage


which means it will run into an infinite loop as the end of block#2 goes back to black #2 with no way to exit.

I think it’s meant to say go back to block #1

1 Like

Author replied to me in email and that is wrong as pointed out. There is also a new version of the paper which corrected this mistake