Struct darknet_sys::update_args
source · #[repr(C)]pub struct update_args {
pub batch: c_int,
pub learning_rate: f32,
pub momentum: f32,
pub decay: f32,
pub adam: c_int,
pub B1: f32,
pub B2: f32,
pub eps: f32,
pub t: c_int,
}
Fields§
§batch: c_int
§learning_rate: f32
§momentum: f32
§decay: f32
§adam: c_int
§B1: f32
§B2: f32
§eps: f32
§t: c_int
Trait Implementations§
source§impl Clone for update_args
impl Clone for update_args
source§fn clone(&self) -> update_args
fn clone(&self) -> update_args
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 update_args
impl Debug for update_args
impl Copy for update_args
Auto Trait Implementations§
impl RefUnwindSafe for update_args
impl Send for update_args
impl Sync for update_args
impl Unpin for update_args
impl UnwindSafe for update_args
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