nn: checkpoint a husk of code for forward/back propagation