pub struct SelectionStatistics {
pub total_selections: usize,
pub overall_accuracy: f64,
pub accuracy_by_operation: HashMap<OperationType, f64>,
pub accuracy_by_backend: HashMap<BackendType, f64>,
pub popular_kernels: Vec<(String, usize)>,
}Expand description
Selection statistics
Fields§
§total_selections: usizeTotal selections made
overall_accuracy: f64Selection accuracy
accuracy_by_operation: HashMap<OperationType, f64>Accuracy by operation type
accuracy_by_backend: HashMap<BackendType, f64>Accuracy by backend
popular_kernels: Vec<(String, usize)>Most frequently selected kernels
Trait Implementations§
Source§impl Clone for SelectionStatistics
impl Clone for SelectionStatistics
Source§fn clone(&self) -> SelectionStatistics
fn clone(&self) -> SelectionStatistics
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 SelectionStatistics
impl RefUnwindSafe for SelectionStatistics
impl Send for SelectionStatistics
impl Sync for SelectionStatistics
impl Unpin for SelectionStatistics
impl UnsafeUnpin for SelectionStatistics
impl UnwindSafe for SelectionStatistics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more