pub struct PredictionState {
pub input: Vec<f64>,
pub output: Vec<f64>,
pub uncertainty: Option<f64>,
pub latency_us: u64,
pub sequence: u64,
}Expand description
Prediction state for replay and analysis.
Fields§
§input: Vec<f64>Input features.
output: Vec<f64>Model output.
uncertainty: Option<f64>Uncertainty estimate (if available).
latency_us: u64Inference latency in microseconds (simulated).
sequence: u64Sequence number.
Trait Implementations§
Source§impl Clone for PredictionState
impl Clone for PredictionState
Source§fn clone(&self) -> PredictionState
fn clone(&self) -> PredictionState
Returns a duplicate of the value. Read more
1.0.0 · 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 PredictionState
impl Debug for PredictionState
Source§impl<'de> Deserialize<'de> for PredictionState
impl<'de> Deserialize<'de> for PredictionState
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
Auto Trait Implementations§
impl Freeze for PredictionState
impl RefUnwindSafe for PredictionState
impl Send for PredictionState
impl Sync for PredictionState
impl Unpin for PredictionState
impl UnsafeUnpin for PredictionState
impl UnwindSafe for PredictionState
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