DiffEqML / torchdyn

A PyTorch library entirely dedicated to neural differential equations, implicit models and related numerical methods
https://torchdyn.org
Apache License 2.0
1.4k stars 130 forks source link

How should i set the seminorm option like it is in the torchdiffeq? #209

Open chansigit opened 8 months ago

chansigit commented 8 months ago

In torchdiffeq, odeint has a adjoint option to turn on seminorm? how should i pass parameters to the seminorm option in torchdyn? Merely passing a True gives an error.

dyn_odeint( f=Func, x=z0, t_span=dt_list, solver=self.odesolver, atol=self.atol, rtol=self.rtol, seminorm=True)