pub struct TraceData {
pub channel_id: u16,
pub trace_value: f32,
pub last_spike_time: u32,
}Expand description
Individual eligibility trace data on the IPC wire.
An element of an IPC TraceBatch, not an in-memory training-side trace type.
Fields§
§channel_id: u16Channel or synapse identifier.
trace_value: f32Trace value (decay-modulated spike history).
last_spike_time: u32Timestamp of last contributing spike.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TraceData
impl<'de> Deserialize<'de> for TraceData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for TraceData
Source§impl Validate for TraceData
impl Validate for TraceData
Source§fn validate_with(&self, _limits: ProtocolLimits) -> Result<(), ValidationError>
fn validate_with(&self, _limits: ProtocolLimits) -> Result<(), ValidationError>
Validate against an explicit policy.
Source§fn validate(&self) -> Result<(), ValidationError>
fn validate(&self) -> Result<(), ValidationError>
Validate against
ProtocolLimits::DEFAULT.Auto Trait Implementations§
impl Freeze for TraceData
impl RefUnwindSafe for TraceData
impl Send for TraceData
impl Sync for TraceData
impl Unpin for TraceData
impl UnsafeUnpin for TraceData
impl UnwindSafe for TraceData
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