How to Properly Track Gradients with MyGrad When Using Scipy’s RectBivariateSpline for Interpolation?
I’m working on a project where I need to interpolate enthalpy values using scipy.interpolate.RectBivariateSpline
and then perform automatic differentiation using mygrad
. However, I’m encountering an issue where the gradient is not tracked at all across the interpolation. Here is a simplified version of my code: