pub struct BlockMeta {Show 16 fields
pub key: BlockKey,
pub dtype: DType,
pub tier: Tier,
pub bits: u8,
pub scale: f32,
pub zero_point: i16,
pub created_at: u64,
pub last_access_at: u64,
pub access_count: u32,
pub ema_rate: f32,
pub window: u64,
pub checksum: u32,
pub reconstruct: ReconstructPolicy,
pub tier_age: u32,
pub lineage_parent: Option<u128>,
pub block_bytes: u32,
}Expand description
Complete metadata for a single block.
Fields§
§key: BlockKey§dtype: DType§tier: Tier§bits: u8Quantization bit width (8, 7, 5, or 3).
scale: f32Quantization scale: max(|v|) / qmax.
zero_point: i16Quantization zero point (0 for symmetric).
created_at: u64Tick at which this block was created.
last_access_at: u64Tick of the most recent access.
access_count: u32Cumulative access count.
ema_rate: f32Exponential moving average of access rate.
window: u64Sliding-window bitset for the last 64 ticks.
checksum: u32CRC32 checksum of quantized payload concatenated with scale bytes.
reconstruct: ReconstructPolicyHow to reconstruct if evicted.
tier_age: u32Number of ticks spent in the current tier.
lineage_parent: Option<u128>Optional parent tensor ID for delta-chain lineage.
block_bytes: u32Size of this block’s quantized payload in bytes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlockMeta
impl RefUnwindSafe for BlockMeta
impl Send for BlockMeta
impl Sync for BlockMeta
impl Unpin for BlockMeta
impl UnsafeUnpin for BlockMeta
impl UnwindSafe for BlockMeta
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