pub enum RoutingPredictor {
Snapshot,
ChartGeometry,
}Expand description
#1033 — the fixed-form predictor that produces the ρ-invariant FROZEN routing
(amortized routing). Both forms are NO-learned-net deterministic functions of
the current dictionary; they differ in how faithfully they track the
dictionary as it evolves across outer iterates. Kept as alternatives so the
accuracy gate can pick whichever passes the fit-quality bar (the cheap
Snapshot if it suffices, the ChartGeometry distill otherwise).
Variants§
Snapshot
Snapshot the current (converged) logits as the frozen routing — the cheapest fixed-form distill, exact at the dictionary it is taken from. Goes stale as the dictionary moves (needs a refresh to track), so it is the MVP/baseline form.
ChartGeometry
Re-derive the per-(row, atom) routing logit from the atom’s encode-chart
geometry against the CURRENT dictionary: encode each row to its predicted
coord t̂, reconstruct the amplitude-1 image γ_k(t̂) = Bᵀφ(t̂), and map
the reconstruction ALIGNMENT to a logit. This tracks the dictionary
(a moved decoder changes γ_k(t̂) and hence the routing) without re-running
the free-logit inner solve, so it is the default-readiness form when the
snapshot proves too stale.
Trait Implementations§
Source§impl Clone for RoutingPredictor
impl Clone for RoutingPredictor
Source§fn clone(&self) -> RoutingPredictor
fn clone(&self) -> RoutingPredictor
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for RoutingPredictor
Source§impl Debug for RoutingPredictor
impl Debug for RoutingPredictor
impl Eq for RoutingPredictor
Source§impl PartialEq for RoutingPredictor
impl PartialEq for RoutingPredictor
Source§fn eq(&self, other: &RoutingPredictor) -> bool
fn eq(&self, other: &RoutingPredictor) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RoutingPredictor
Auto Trait Implementations§
impl Freeze for RoutingPredictor
impl RefUnwindSafe for RoutingPredictor
impl Send for RoutingPredictor
impl Sync for RoutingPredictor
impl Unpin for RoutingPredictor
impl UnsafeUnpin for RoutingPredictor
impl UnwindSafe for RoutingPredictor
Blanket Implementations§
impl<T> Allocation for T
impl<T> Boilerplate for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T, U> Imply<T> for U
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>
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>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.