pub enum Embed {
Half {
idx: usize,
rows: usize,
bf16: bool,
},
Matrix(QTensor),
}Expand description
The embedding table, a row a token (f16 / bf16 rows from the mapping).
Variants§
Implementations§
Auto Trait Implementations§
impl Forget for Embed
impl Freeze for Embed
impl Move for Embed
impl RefUnwindSafe for Embed
impl Send for Embed
impl Sync for Embed
impl Unpin for Embed
impl UnsafeUnpin for Embed
impl UnwindSafe for Embed
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