pub struct LearningParameters {
pub learning_rate: f64,
pub momentum: f64,
pub weight_decay: f64,
}
Fields§
§learning_rate: f64
§momentum: f64
§weight_decay: f64
Trait Implementations§
Source§impl Clone for LearningParameters
impl Clone for LearningParameters
Source§fn clone(&self) -> LearningParameters
fn clone(&self) -> LearningParameters
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LearningParameters
impl Debug for LearningParameters
Source§impl PartialEq for LearningParameters
impl PartialEq for LearningParameters
impl Copy for LearningParameters
impl StructuralPartialEq for LearningParameters
Auto Trait Implementations§
impl Freeze for LearningParameters
impl RefUnwindSafe for LearningParameters
impl Send for LearningParameters
impl Sync for LearningParameters
impl Unpin for LearningParameters
impl UnwindSafe for LearningParameters
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