About the nonlinear function to fit

Author: MADONOKOUKICreated Jun 11, 2025Updated Jun 11, 2025

Does anyone know how to fit the nonlinear yet periodic function like this using torchdiffeq?

  • ( torch.sin(t) + torch.sin(0.75 * t) ) / 2.0