Cleaning up adjoint_tn2