| 12 | /// Euler solver for flow matching. |
| 13 | #[derive(Debug, Clone)] |
| 14 | pub struct EulerSolver { |
| 15 | pub num_steps: usize, |
| 16 | pub t_shift: f32, |
| 17 | } |
| 18 | |
| 19 | impl EulerSolver { |
| 20 | pub fn new(num_steps: usize, t_shift: f32) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected