pub struct AppliedDoseObservation {
pub effective_delta: ArrayBase<OwnedRepr<f64>, Dim<[usize; 1]>>,
pub exact_directional_nats: f64,
pub measured_nats: f64,
pub certified_attainable_upper_nats: Option<f64>,
}Expand description
One model-in-the-loop observation of the exact SteerPlan supplied to an
AppliedDoseProbe. The effective delta is the vector the downstream model
actually received after its device/dtype conversion; it may differ from the
f64 requested delta through quantization. exact_directional_nats is the
full local-Fisher quadratic of that effective delta. measured_nats is the
patched-forward KL(p_base ‖ p_patched) for the same effective delta.
Keeping all three values atomic prevents a caller from pricing one vector
and measuring another, and keeps the resident RowMetric dose an explicit
diagnostic rather than silently promoting an approximate operator (#2249).
certified_attainable_upper_nats, when present, is a global upper bound on
measured KL over every finite non-negative amplitude on this exact atom
chord and downstream execution context. A point observation or an apparent
plateau is not such a certificate.
Fields§
§effective_delta: ArrayBase<OwnedRepr<f64>, Dim<[usize; 1]>>§exact_directional_nats: f64§measured_nats: f64§certified_attainable_upper_nats: Option<f64>Trait Implementations§
Source§impl Clone for AppliedDoseObservation
impl Clone for AppliedDoseObservation
Source§fn clone(&self) -> AppliedDoseObservation
fn clone(&self) -> AppliedDoseObservation
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AppliedDoseObservation
impl Debug for AppliedDoseObservation
Source§impl PartialEq for AppliedDoseObservation
impl PartialEq for AppliedDoseObservation
impl StructuralPartialEq for AppliedDoseObservation
Auto Trait Implementations§
impl Freeze for AppliedDoseObservation
impl RefUnwindSafe for AppliedDoseObservation
impl Send for AppliedDoseObservation
impl Sync for AppliedDoseObservation
impl Unpin for AppliedDoseObservation
impl UnsafeUnpin for AppliedDoseObservation
impl UnwindSafe for AppliedDoseObservation
Blanket Implementations§
impl<T> Allocation 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<C> CloneExpand for Cwhere
C: Clone,
impl<C> CloneExpand for Cwhere
C: Clone,
fn __expand_clone_method(&self, _scope: &mut Scope) -> C
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,
impl<T, U> Imply<T> for U
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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
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.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.