pub struct EngramTable {
pub layer: usize,
pub shard: usize,
pub base: u64,
pub rows: usize,
pub row_bytes: usize,
pub head_dim: usize,
pub ggml_type_id: u32,
}Expand description
One engram table: blk.N.engram_embd.weight, GGUF dims [head_dim, rows],
one quant block per row.
Fields§
§layer: usize§shard: usize§base: u64§rows: usize§row_bytes: usize§head_dim: usize§ggml_type_id: u32Trait Implementations§
Source§impl Clone for EngramTable
impl Clone for EngramTable
Source§fn clone(&self) -> EngramTable
fn clone(&self) -> EngramTable
Returns a duplicate 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 Debug for EngramTable
impl Debug for EngramTable
impl Copy for EngramTable
Auto Trait Implementations§
impl Freeze for EngramTable
impl RefUnwindSafe for EngramTable
impl Send for EngramTable
impl Sync for EngramTable
impl Unpin for EngramTable
impl UnwindSafe for EngramTable
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