Thanks for this article! I am wondering how you would modify this if you wanted to compare the outputs at every step of the RNN as opposed to just the last output (ie. not output[-1]). Would you have to loop through 2–5? or would you loop through the output and somehow combine this into a single loss value (maybe just sum them together)?