3 ms·
I saw this paper at nips and I thought it was an awesome application of continuation passing style. Typically in CPS one of the advantages is that you really on
by mlazos 8y ago
I saw this paper at nips and I thought it was an awesome application of continuation passing style. Typically in CPS one of the advantages is that you really only need a single stack frame (since the remainder of the program is encoded in the callback), but in this paper they allow the CPS’d program to use multiple stack frames and store the intermediate results from backprop in the callstack. It never would’ve occurred to me to remove one of the advantages of CPS in order to store values on the callstack. Cool idea!