pub enum Dist {
Gaussian,
Uniform,
Sparse90,
LowRank,
Outlier,
Quantized,
Coherent,
}Expand description
Synthetic input distributions. Each is chosen to make a different sketch pop, so the miner can be validated against ground truth.
Variants§
Gaussian
N(0,1) — the null hypothesis (dense, bell-shaped, no structure).
Uniform
U(-1,1) — dense, flat histogram.
Sparse90
90% exact zeros — unstructured sparsity → sparse-GEMM candidate.
LowRank
Rank-4 product — low effective rank → factored-matmul candidate.
Outlier
Gaussian with ~1% ×30 spikes → per-channel outliers → SmoothQuant/AWQ.
Quantized
Gaussian snapped to 0.5 steps → spiky histogram → quantize/LUT.
Coherent
Row random-walk — adjacent rows cohere → within-call sequence structure
→ delta-compute candidate (proves the adj_sumsq detector).
Implementations§
Trait Implementations§
impl Copy for Dist
impl Eq for Dist
impl StructuralPartialEq for Dist
Auto Trait Implementations§
impl Freeze for Dist
impl RefUnwindSafe for Dist
impl Send for Dist
impl Sync for Dist
impl Unpin for Dist
impl UnsafeUnpin for Dist
impl UnwindSafe for Dist
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more