#[repr(C)]pub struct mtmd_gen_inp {
pub type_: mtmd_gen_process_type,
pub code0: i32,
pub embd: *mut f32,
pub top_k: i32,
pub top_p: f32,
pub temp: f32,
pub penalty_repeat: f32,
pub penalty_last_n: i32,
pub codes: *mut i32,
pub n_codes: usize,
pub feats: *const f32,
pub n_feats: usize,
}Fields§
§type_: mtmd_gen_process_type§code0: i32§embd: *mut f32§top_k: i32§top_p: f32§temp: f32§penalty_repeat: f32§penalty_last_n: i32§codes: *mut i32§n_codes: usize§feats: *const f32§n_feats: usizeTrait Implementations§
Source§impl Clone for mtmd_gen_inp
impl Clone for mtmd_gen_inp
impl Copy for mtmd_gen_inp
Auto Trait Implementations§
impl !Send for mtmd_gen_inp
impl !Sync for mtmd_gen_inp
impl Forget for mtmd_gen_inp
impl Freeze for mtmd_gen_inp
impl RefUnwindSafe for mtmd_gen_inp
impl Unpin for mtmd_gen_inp
impl UnsafeUnpin for mtmd_gen_inp
impl UnwindSafe for mtmd_gen_inp
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