pub struct ImageStats {
pub mean: [f32; 3],
pub std: [f32; 3],
pub aspect: f32,
}Fields§
§mean: [f32; 3]§std: [f32; 3]§aspect: f32Implementations§
Source§impl ImageStats
impl ImageStats
pub fn tiny_input(&self) -> [f32; 4]
pub fn feature_vector(&self, box_count: f32) -> [f32; 8]
Trait Implementations§
Source§impl Clone for ImageStats
impl Clone for ImageStats
Source§fn clone(&self) -> ImageStats
fn clone(&self) -> ImageStats
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 ImageStats
impl Debug for ImageStats
impl Copy for ImageStats
Auto Trait Implementations§
impl Freeze for ImageStats
impl RefUnwindSafe for ImageStats
impl Send for ImageStats
impl Sync for ImageStats
impl Unpin for ImageStats
impl UnwindSafe for ImageStats
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