pub struct Optimised {
pub data: Vec<f32>,
pub g1_ir: Vec<f64>,
pub g2_ir: Vec<f64>,
pub g1_curve: Vec<f64>,
pub g2_curve: Vec<f64>,
pub initial_loss: f64,
pub loss: Vec<f64>,
}Expand description
The result of optimise.
Fields§
§data: Vec<f32>The 2048 floats to upload (upload_data of the responses).
g1_ir: Vec<f64>G1 and G2 as the pedal runs them (PEDAL_TAPS taps).
g2_ir: Vec<f64>§g1_curve: Vec<f64>The two curves: natural-log magnitude at the CURVE_POINTS control points.
g2_curve: Vec<f64>§initial_loss: f64The objective at the start and per step; the result is the lowest one seen.
loss: Vec<f64>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Optimised
impl RefUnwindSafe for Optimised
impl Send for Optimised
impl Sync for Optimised
impl Unpin for Optimised
impl UnsafeUnpin for Optimised
impl UnwindSafe for Optimised
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more