#[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 duplicate 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 moreimpl Copy for ggml_opt_params__bindgen_ty_2
Auto Trait Implementations§
impl Freeze for ggml_opt_params__bindgen_ty_2
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