pub enum ShuffleNetVersion {
V1,
V2,
}
Expand description
Computationally efficient CNN architecture designed specifically for mobile devices with very limited computing power.
Source: https://github.com/onnx/models/tree/master/vision/classification/shufflenet
Variants§
V1
Source: https://github.com/onnx/models/tree/master/vision/classification/shufflenet
Variant downloaded: ONNX Version 1.4 with Opset Version 9.
V2
ShuffleNetV2 is an improved architecture that is the state-of-the-art in terms of speed and accuracy tradeoff used for image classification.
Source: https://github.com/onnx/models/tree/master/vision/classification/shufflenet
Variant downloaded: ONNX Version 1.6 with Opset Version 10.
Trait Implementations§
Source§impl Clone for ShuffleNetVersion
impl Clone for ShuffleNetVersion
Source§fn clone(&self) -> ShuffleNetVersion
fn clone(&self) -> ShuffleNetVersion
Returns a copy 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 ShuffleNetVersion
impl Debug for ShuffleNetVersion
Source§impl From<ShuffleNetVersion> for AvailableOnnxModel
impl From<ShuffleNetVersion> for AvailableOnnxModel
Source§fn from(variant: ShuffleNetVersion) -> Self
fn from(variant: ShuffleNetVersion) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ShuffleNetVersion
impl RefUnwindSafe for ShuffleNetVersion
impl Send for ShuffleNetVersion
impl Sync for ShuffleNetVersion
impl Unpin for ShuffleNetVersion
impl UnwindSafe for ShuffleNetVersion
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