#[repr(C)]pub struct ggml_opt_context__bindgen_ty_1 {
pub g: *mut ggml_tensor,
pub m: *mut ggml_tensor,
pub v: *mut ggml_tensor,
pub pf: *mut ggml_tensor,
pub fx_best: f32,
pub fx_prev: f32,
pub n_no_improvement: c_int,
}Fields§
§g: *mut ggml_tensor§m: *mut ggml_tensor§v: *mut ggml_tensor§pf: *mut ggml_tensor§fx_best: f32§fx_prev: f32§n_no_improvement: c_intTrait Implementations§
source§impl Clone for ggml_opt_context__bindgen_ty_1
impl Clone for ggml_opt_context__bindgen_ty_1
source§fn clone(&self) -> ggml_opt_context__bindgen_ty_1
fn clone(&self) -> ggml_opt_context__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_context__bindgen_ty_1
impl PartialEq for ggml_opt_context__bindgen_ty_1
source§fn eq(&self, other: &ggml_opt_context__bindgen_ty_1) -> bool
fn eq(&self, other: &ggml_opt_context__bindgen_ty_1) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ggml_opt_context__bindgen_ty_1
impl StructuralPartialEq for ggml_opt_context__bindgen_ty_1
Auto Trait Implementations§
impl RefUnwindSafe for ggml_opt_context__bindgen_ty_1
impl !Send for ggml_opt_context__bindgen_ty_1
impl !Sync for ggml_opt_context__bindgen_ty_1
impl Unpin for ggml_opt_context__bindgen_ty_1
impl UnwindSafe for ggml_opt_context__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