pub struct TrainingSummary {
pub steps_processed: usize,
pub total_spikes: u64,
pub avg_reward: f32,
pub threshold_drifts: Vec<f32>,
pub weight_drifts: Vec<Vec<f32>>,
pub per_neuron_spikes: Vec<u64>,
}Expand description
Summary metrics collected over a PlasticityTrainer::run_session call.
Drifts are relative to network state at the start of the session.
Fields§
§steps_processed: usizeNumber of training examples processed.
total_spikes: u64Total spike events across all steps.
avg_reward: f32Mean reward over the batch.
threshold_drifts: Vec<f32>Per-neuron change in firing threshold (final − initial).
weight_drifts: Vec<Vec<f32>>Per-neuron, per-channel weight change (final − initial).
per_neuron_spikes: Vec<u64>Spike count per neuron over the session.
Trait Implementations§
Source§impl Clone for TrainingSummary
impl Clone for TrainingSummary
Source§fn clone(&self) -> TrainingSummary
fn clone(&self) -> TrainingSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrainingSummary
impl Debug for TrainingSummary
Source§impl Default for TrainingSummary
impl Default for TrainingSummary
Source§fn default() -> TrainingSummary
fn default() -> TrainingSummary
Returns the “default value” for a type. Read more
Source§impl PartialEq for TrainingSummary
impl PartialEq for TrainingSummary
impl StructuralPartialEq for TrainingSummary
Auto Trait Implementations§
impl Freeze for TrainingSummary
impl RefUnwindSafe for TrainingSummary
impl Send for TrainingSummary
impl Sync for TrainingSummary
impl Unpin for TrainingSummary
impl UnsafeUnpin for TrainingSummary
impl UnwindSafe for TrainingSummary
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