pub struct InterpretabilityReport {
pub num_steps: usize,
pub layer_stats: Vec<(String, ActivationStats)>,
pub state_trajectory: StateTrajectory,
pub top_sensitive_features: Vec<(usize, f32)>,
pub overall_sparsity: f32,
}Expand description
High-level interpretability summary collected from a single model run.
Fields§
§num_steps: usizeTotal number of steps included in this report
layer_stats: Vec<(String, ActivationStats)>Per-layer activation statistics: (layer_name, stats)
state_trajectory: StateTrajectoryState trajectory of the primary hidden state
top_sensitive_features: Vec<(usize, f32)>Feature sensitivity ranking (feature_index, avg_sensitivity)
overall_sparsity: f32Overall fraction of near-zero activations across all layers
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InterpretabilityReport
impl RefUnwindSafe for InterpretabilityReport
impl Send for InterpretabilityReport
impl Sync for InterpretabilityReport
impl Unpin for InterpretabilityReport
impl UnsafeUnpin for InterpretabilityReport
impl UnwindSafe for InterpretabilityReport
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> 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>
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