pub struct LtxLin<'a> {
pub w: Option<usize>,
pub dense: &'a [f32],
pub rows: usize,
pub cols: usize,
pub bias: &'a [f32],
}Expand description
One projection of the LTX-2.5 transformer for the resident chain: a
container matrix [rows][cols] (q4tp or q8_2f) by directory index, or a
dense f32 one, and its bias ([rows], or empty).
Fields§
§w: Option<usize>§dense: &'a [f32]§rows: usize§cols: usize§bias: &'a [f32]Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for LtxLin<'a>
impl<'a> Freeze for LtxLin<'a>
impl<'a> Move for LtxLin<'a>
impl<'a> RefUnwindSafe for LtxLin<'a>
impl<'a> Send for LtxLin<'a>
impl<'a> Sync for LtxLin<'a>
impl<'a> Unpin for LtxLin<'a>
impl<'a> UnsafeUnpin for LtxLin<'a>
impl<'a> UnwindSafe for LtxLin<'a>
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