pub struct DetectionMetricsResult {
pub counts: Matrix,
pub per_class: Matrix,
pub mean_average_precision_by_threshold: Matrix,
pub mean_average_precision: Matrix,
}Expand description
Device-resident object-detection evaluation outputs.
Fields§
§counts: MatrixU32 [T, C, 3]: true positives, false positives, false negatives.
per_class: MatrixFP32 [T, C, 4]: precision, recall, F1, interpolated AP.
mean_average_precision_by_threshold: MatrixFP32 [T]: mean AP across classes containing at least one target.
mean_average_precision: MatrixFP32 [1]: mean over thresholds containing at least one target class.
Auto Trait Implementations§
impl !RefUnwindSafe for DetectionMetricsResult
impl !Send for DetectionMetricsResult
impl !Sync for DetectionMetricsResult
impl !UnwindSafe for DetectionMetricsResult
impl Forget for DetectionMetricsResult
impl Freeze for DetectionMetricsResultwhere
*const RcInner<RefCell<RuntimeState>> is !null: Freeze,
PhantomData<RcInner<RefCell<RuntimeState>>>: Freeze,
*const RcInner<StorageInner> is !null: Freeze,
PhantomData<RcInner<StorageInner>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<usize>: Freeze,
*const RcInner<MatrixSemantic> is !null: Freeze,
PhantomData<RcInner<MatrixSemantic>>: Freeze,
PhantomData<Rc<()>>: Freeze,
impl Move for DetectionMetricsResult
impl Unpin for DetectionMetricsResult
impl UnsafeUnpin for DetectionMetricsResultwhere
*const RcInner<RefCell<RuntimeState>> is !null: UnsafeUnpin,
PhantomData<RcInner<RefCell<RuntimeState>>>: UnsafeUnpin,
*const RcInner<StorageInner> is !null: UnsafeUnpin,
PhantomData<RcInner<StorageInner>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
*const RcInner<MatrixSemantic> is !null: UnsafeUnpin,
PhantomData<RcInner<MatrixSemantic>>: UnsafeUnpin,
PhantomData<Rc<()>>: UnsafeUnpin,
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