#[repr(C)]pub struct ggml_opt_optimizer_params__bindgen_ty_1 {
pub alpha: f32,
pub beta1: f32,
pub beta2: f32,
pub eps: f32,
pub wd: f32,
}Fields§
§alpha: f32§beta1: f32§beta2: f32§eps: f32§wd: f32Trait Implementations§
Source§impl Clone for ggml_opt_optimizer_params__bindgen_ty_1
impl Clone for ggml_opt_optimizer_params__bindgen_ty_1
Source§fn clone(&self) -> ggml_opt_optimizer_params__bindgen_ty_1
fn clone(&self) -> ggml_opt_optimizer_params__bindgen_ty_1
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 moreSource§impl PartialEq for ggml_opt_optimizer_params__bindgen_ty_1
impl PartialEq for ggml_opt_optimizer_params__bindgen_ty_1
Source§fn eq(&self, other: &ggml_opt_optimizer_params__bindgen_ty_1) -> bool
fn eq(&self, other: &ggml_opt_optimizer_params__bindgen_ty_1) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ggml_opt_optimizer_params__bindgen_ty_1
impl StructuralPartialEq for ggml_opt_optimizer_params__bindgen_ty_1
Auto Trait Implementations§
impl Freeze for ggml_opt_optimizer_params__bindgen_ty_1
impl RefUnwindSafe for ggml_opt_optimizer_params__bindgen_ty_1
impl Send for ggml_opt_optimizer_params__bindgen_ty_1
impl Sync for ggml_opt_optimizer_params__bindgen_ty_1
impl Unpin for ggml_opt_optimizer_params__bindgen_ty_1
impl UnwindSafe for ggml_opt_optimizer_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