pub enum ViTPreset {
Tiny16,
Small16,
Base16,
Large16,
Huge14,
}Expand description
Common Vision Transformer presets
Variants§
Tiny16
ViT-Tiny/16: 5.7M parameters
Small16
ViT-Small/16: 22M parameters
Base16
ViT-Base/16: 86M parameters
Large16
ViT-Large/16: 307M parameters
Huge14
ViT-Huge/14: 632M parameters
Implementations§
Auto Trait Implementations§
impl Freeze for ViTPreset
impl RefUnwindSafe for ViTPreset
impl Send for ViTPreset
impl Sync for ViTPreset
impl Unpin for ViTPreset
impl UnwindSafe for ViTPreset
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