You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to inquiry if there is a way or workaround to do inference in ONNXRuntime with the neural network gradient w.r.t. inputs. I get an error when exporting torch.autograd.grad operator. In the field of physics-informed neural networks, the desired output is oftentimes the NN gradient.
For now, I'm using finite differentiation of the NN but it is clearly a sub-optimal solution.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'd like to inquiry if there is a way or workaround to do inference in ONNXRuntime with the neural network gradient w.r.t. inputs. I get an error when exporting torch.autograd.grad operator. In the field of physics-informed neural networks, the desired output is oftentimes the NN gradient.
For now, I'm using finite differentiation of the NN but it is clearly a sub-optimal solution.
Beta Was this translation helpful? Give feedback.
All reactions