pub struct ModelPerformance {
pub avg_inference_time_ms: f32,
pub memory_usage_mb: f32,
pub throughput: f32,
pub accuracy_metrics: HashMap<String, f32>,
}Expand description
Performance characteristics of neural models
Fields§
§avg_inference_time_ms: f32Average inference time per example (ms)
memory_usage_mb: f32Memory usage (MB)
throughput: f32Throughput (examples per second)
accuracy_metrics: HashMap<String, f32>Accuracy metrics
Trait Implementations§
Source§impl Clone for ModelPerformance
impl Clone for ModelPerformance
Source§fn clone(&self) -> ModelPerformance
fn clone(&self) -> ModelPerformance
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 moreAuto Trait Implementations§
impl Freeze for ModelPerformance
impl RefUnwindSafe for ModelPerformance
impl Send for ModelPerformance
impl Sync for ModelPerformance
impl Unpin for ModelPerformance
impl UnwindSafe for ModelPerformance
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