Apply adjoint sensitive method to loss:
From loss=(ztāāODE(z0ā))2 to ātāatāā=āatTāāzāf(ztā,t,Īø)ā where atā=āztāālossā
When there is a unknown vector u and two known matrix A and B, and we want to compute a product
uTBĀ suchĀ thatĀ AB=C If there is a vector v and compute
vTCĀ suchĀ thatĀ ATv=u Thus
vTC=vTAB=(ATv)TB=uTB Turn unknown B and unknown u to one known C and one unknown v