Struct darknet_sys::load_args

source ·
#[repr(C)]
pub struct load_args {
Show 50 fields pub threads: c_int, pub paths: *mut *mut c_char, pub path: *mut c_char, pub n: c_int, pub m: c_int, pub labels: *mut *mut c_char, pub h: c_int, pub w: c_int, pub c: c_int, pub out_w: c_int, pub out_h: c_int, pub nh: c_int, pub nw: c_int, pub num_boxes: c_int, pub truth_size: c_int, pub min: c_int, pub max: c_int, pub size: c_int, pub classes: c_int, pub background: c_int, pub scale: c_int, pub center: c_int, pub coords: c_int, pub mini_batch: c_int, pub track: c_int, pub augment_speed: c_int, pub letter_box: c_int, pub mosaic_bound: c_int, pub show_imgs: c_int, pub dontuse_opencv: c_int, pub contrastive: c_int, pub contrastive_jit_flip: c_int, pub contrastive_color: c_int, pub jitter: f32, pub resize: f32, pub flip: c_int, pub gaussian_noise: c_int, pub blur: c_int, pub mixup: c_int, pub label_smooth_eps: f32, pub angle: f32, pub aspect: f32, pub saturation: f32, pub exposure: f32, pub hue: f32, pub d: *mut data, pub im: *mut image, pub resized: *mut image, pub type_: data_type, pub hierarchy: *mut tree,
}

Fields§

§threads: c_int§paths: *mut *mut c_char§path: *mut c_char§n: c_int§m: c_int§labels: *mut *mut c_char§h: c_int§w: c_int§c: c_int§out_w: c_int§out_h: c_int§nh: c_int§nw: c_int§num_boxes: c_int§truth_size: c_int§min: c_int§max: c_int§size: c_int§classes: c_int§background: c_int§scale: c_int§center: c_int§coords: c_int§mini_batch: c_int§track: c_int§augment_speed: c_int§letter_box: c_int§mosaic_bound: c_int§show_imgs: c_int§dontuse_opencv: c_int§contrastive: c_int§contrastive_jit_flip: c_int§contrastive_color: c_int§jitter: f32§resize: f32§flip: c_int§gaussian_noise: c_int§blur: c_int§mixup: c_int§label_smooth_eps: f32§angle: f32§aspect: f32§saturation: f32§exposure: f32§hue: f32§d: *mut data§im: *mut image§resized: *mut image§type_: data_type§hierarchy: *mut tree

Trait Implementations§

source§

impl Clone for load_args

source§

fn clone(&self) -> load_args

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for load_args

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for load_args

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.