Closed RobWalt closed 4 years ago
That's because it's taking 4 steps and saving the results along the time series.
Ok, thanks. Quick follow-up question: Then the last entry in the solution array corresponds to the latest version of the approximated solution, right?
It corresponds to the approximation of the solution at the end, yes. It's all as described in https://diffeq.sciml.ai/stable/tutorials/ode_example/
Oh, my bad. Thanks again! 🥇
I'm currently trying to understand the whole Neural ODE Framework a bit better. At the moment I feel a bit stuck. I don't really get what the output of a
NeuralODE
Layer is exactly.My example code is:
with the MNIST data as input. Now when I feed one flat input image step by step through the network, I get
I don't really get why the last dimension of this output is 4. I already tried to look it up in the documentation, but all I'm getting is, that the solution type (and form) is defined by the arguments you call
solve
with, which is called inNeuralODE
. But this still doesn't explain to me how to interpret the 4 solution arrays independently.So my question is: What are the 4 solution arrays for and how can I interpret them?