#[repr(C)]pub struct mtmd_helper_embd_batch {
pub n_tokens: i32,
pub embd: *const f32,
pub n_embd: i32,
pub pos: *const llama_pos,
pub n_pos: i32,
pub seq_id: llama_seq_id,
}Fields§
§n_tokens: i32§embd: *const f32§n_embd: i32§pos: *const llama_pos§n_pos: i32§seq_id: llama_seq_idTrait Implementations§
Source§impl Clone for mtmd_helper_embd_batch
impl Clone for mtmd_helper_embd_batch
impl Copy for mtmd_helper_embd_batch
Auto Trait Implementations§
impl !Send for mtmd_helper_embd_batch
impl !Sync for mtmd_helper_embd_batch
impl Forget for mtmd_helper_embd_batch
impl Freeze for mtmd_helper_embd_batch
impl Move for mtmd_helper_embd_batch
impl RefUnwindSafe for mtmd_helper_embd_batch
impl Unpin for mtmd_helper_embd_batch
impl UnsafeUnpin for mtmd_helper_embd_batch
impl UnwindSafe for mtmd_helper_embd_batch
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