Hi,
I am training a neural ODE on a periodic function and wanted to try out DiffEqFlux.multiple_shoot(). After reviewing the online example @ docs.sciml.ai/DiffEqFlux/stable/examples/multiple_shooting/, I was hoping someone could answer a couple of basic questions for me. The questions are:
Why was the ComponentArrayp_init separated into its data and axes? Why not just provide a ComponentArray to OptimizationProblem() which would be used by loss_multiple_shooting() directly?
It looks like neuralode was created but never used. Is this intentional?
Inside the callback function, why is a global variable used to track the iteration number? Couldn’t you use state.iter if state is an OptimizationState object ?
Up to now, I have been using the Lux training API to train my models. Is there a version of multiple shooting or some similar training scheme implemented in Lux?
There’s an edit button up there which brings you to the .md file:
the docs are all generated from the Documenter.jl .md files. So if you make a pull request to change those the docs will get updated based on the code in there.
The Documenter.jl docs explain the syntax on the .md files: