#[repr(C)]pub struct ggml_opt_context__bindgen_ty_2 {Show 16 fields
pub x: *mut ggml_tensor,
pub xp: *mut ggml_tensor,
pub g: *mut ggml_tensor,
pub gp: *mut ggml_tensor,
pub d: *mut ggml_tensor,
pub pf: *mut ggml_tensor,
pub lmal: *mut ggml_tensor,
pub lmys: *mut ggml_tensor,
pub lms: *mut ggml_tensor,
pub lmy: *mut ggml_tensor,
pub fx_best: f32,
pub step: f32,
pub j: c_int,
pub k: c_int,
pub end: c_int,
pub n_no_improvement: c_int,
}
Fields§
§x: *mut ggml_tensor
§xp: *mut ggml_tensor
§g: *mut ggml_tensor
§gp: *mut ggml_tensor
§d: *mut ggml_tensor
§pf: *mut ggml_tensor
§lmal: *mut ggml_tensor
§lmys: *mut ggml_tensor
§lms: *mut ggml_tensor
§lmy: *mut ggml_tensor
§fx_best: f32
§step: f32
§j: c_int
§k: c_int
§end: c_int
§n_no_improvement: c_int
Trait Implementations§
source§impl Clone for ggml_opt_context__bindgen_ty_2
impl Clone for ggml_opt_context__bindgen_ty_2
source§fn clone(&self) -> ggml_opt_context__bindgen_ty_2
fn clone(&self) -> ggml_opt_context__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_context__bindgen_ty_2
impl PartialEq for ggml_opt_context__bindgen_ty_2
source§fn eq(&self, other: &ggml_opt_context__bindgen_ty_2) -> bool
fn eq(&self, other: &ggml_opt_context__bindgen_ty_2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ggml_opt_context__bindgen_ty_2
impl StructuralPartialEq for ggml_opt_context__bindgen_ty_2
Auto Trait Implementations§
impl Freeze for ggml_opt_context__bindgen_ty_2
impl RefUnwindSafe for ggml_opt_context__bindgen_ty_2
impl !Send for ggml_opt_context__bindgen_ty_2
impl !Sync for ggml_opt_context__bindgen_ty_2
impl Unpin for ggml_opt_context__bindgen_ty_2
impl UnwindSafe for ggml_opt_context__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