#[repr(C)]pub struct ggml_opt_params__bindgen_ty_2 {
pub m: c_int,
pub n_iter: c_int,
pub max_linesearch: c_int,
pub eps: f32,
pub ftol: f32,
pub wolfe: f32,
pub min_step: f32,
pub max_step: f32,
pub linesearch: ggml_linesearch,
}Fields§
§m: c_int§n_iter: c_int§max_linesearch: c_int§eps: f32§ftol: f32§wolfe: f32§min_step: f32§max_step: f32§linesearch: ggml_linesearchTrait Implementations§
source§impl Clone for ggml_opt_params__bindgen_ty_2
impl Clone for ggml_opt_params__bindgen_ty_2
source§fn clone(&self) -> ggml_opt_params__bindgen_ty_2
fn clone(&self) -> ggml_opt_params__bindgen_ty_2
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_2
impl PartialEq for ggml_opt_params__bindgen_ty_2
source§fn eq(&self, other: &ggml_opt_params__bindgen_ty_2) -> bool
fn eq(&self, other: &ggml_opt_params__bindgen_ty_2) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ggml_opt_params__bindgen_ty_2
impl StructuralPartialEq for ggml_opt_params__bindgen_ty_2
Auto Trait Implementations§
impl RefUnwindSafe for ggml_opt_params__bindgen_ty_2
impl Send for ggml_opt_params__bindgen_ty_2
impl Sync for ggml_opt_params__bindgen_ty_2
impl Unpin for ggml_opt_params__bindgen_ty_2
impl UnwindSafe for ggml_opt_params__bindgen_ty_2
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