https://alezinhacris.blogspot.com/2024/06/keras-using-sum-of-first-and-second.html
Keras: Using The Sum Of The First And Second Derivatives Of A Model As Final Output