pub enum Yolo26Variant {
N,
S,
M,
L,
XL,
}Expand description
YOLO26 model size variant.
Variants§
Implementations§
Source§impl Yolo26Variant
impl Yolo26Variant
Sourcepub fn config(&self) -> Yolo26Config
pub fn config(&self) -> Yolo26Config
Returns this variant’s depth/width/max-channel scaling parameters.
Trait Implementations§
Source§impl Clone for Yolo26Variant
impl Clone for Yolo26Variant
Source§fn clone(&self) -> Yolo26Variant
fn clone(&self) -> Yolo26Variant
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Yolo26Variant
impl Debug for Yolo26Variant
impl Copy for Yolo26Variant
Auto Trait Implementations§
impl Freeze for Yolo26Variant
impl RefUnwindSafe for Yolo26Variant
impl Send for Yolo26Variant
impl Sync for Yolo26Variant
impl Unpin for Yolo26Variant
impl UnsafeUnpin for Yolo26Variant
impl UnwindSafe for Yolo26Variant
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