pub struct TrainingExample {
pub stimuli: Vec<f32>,
pub reward: f32,
}Expand description
One input sample for a generic training session: stimuli plus scalar reward.
Encoding and reward shaping live outside this crate (axon-encoder,
limbic-critic, or application code).
Fields§
§stimuli: Vec<f32>Flat stimulus vector (length must match the network input size).
reward: f32Scalar reward for this step (positive → dopamine-biased, negative → norepinephrine-biased / stress-arousal).
Trait Implementations§
Source§impl Clone for TrainingExample
impl Clone for TrainingExample
Source§fn clone(&self) -> TrainingExample
fn clone(&self) -> TrainingExample
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 moreAuto Trait Implementations§
impl Freeze for TrainingExample
impl RefUnwindSafe for TrainingExample
impl Send for TrainingExample
impl Sync for TrainingExample
impl Unpin for TrainingExample
impl UnsafeUnpin for TrainingExample
impl UnwindSafe for TrainingExample
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