pub enum SweepParameter {
Temperature {
start: f32,
end: f32,
step: f32,
},
Alpha {
start: f32,
end: f32,
step: f32,
},
Rank {
values: Vec<u32>,
},
LearningRate {
values: Vec<f64>,
},
}Expand description
Parameter being swept.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SweepParameter
impl Clone for SweepParameter
Source§fn clone(&self) -> SweepParameter
fn clone(&self) -> SweepParameter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SweepParameter
impl RefUnwindSafe for SweepParameter
impl Send for SweepParameter
impl Sync for SweepParameter
impl Unpin for SweepParameter
impl UnsafeUnpin for SweepParameter
impl UnwindSafe for SweepParameter
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