#[repr(C)]pub struct ggml_opt_params__bindgen_ty_1 {
pub n_iter: c_int,
pub sched: f32,
pub decay: f32,
pub decay_min_ndim: c_int,
pub alpha: f32,
pub beta1: f32,
pub beta2: f32,
pub eps: f32,
pub eps_f: f32,
pub eps_g: f32,
pub gclip: f32,
}Fields§
§n_iter: c_int§sched: f32§decay: f32§decay_min_ndim: c_int§alpha: f32§beta1: f32§beta2: f32§eps: f32§eps_f: f32§eps_g: f32§gclip: f32Trait Implementations§
source§impl Clone for ggml_opt_params__bindgen_ty_1
impl Clone for ggml_opt_params__bindgen_ty_1
source§fn clone(&self) -> ggml_opt_params__bindgen_ty_1
fn clone(&self) -> ggml_opt_params__bindgen_ty_1
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 PartialEq for ggml_opt_params__bindgen_ty_1
impl PartialEq for ggml_opt_params__bindgen_ty_1
source§fn eq(&self, other: &ggml_opt_params__bindgen_ty_1) -> bool
fn eq(&self, other: &ggml_opt_params__bindgen_ty_1) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ggml_opt_params__bindgen_ty_1
impl StructuralPartialEq for ggml_opt_params__bindgen_ty_1
Auto Trait Implementations§
impl RefUnwindSafe for ggml_opt_params__bindgen_ty_1
impl Send for ggml_opt_params__bindgen_ty_1
impl Sync for ggml_opt_params__bindgen_ty_1
impl Unpin for ggml_opt_params__bindgen_ty_1
impl UnwindSafe for ggml_opt_params__bindgen_ty_1
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