pub enum AvailableOnnxModel {
Vision(Vision),
Language(Language),
}
Expand description
Available pre-trained models to download from ONNX Model Zoo.
According to ONNX Model Zoo’s GitHub page:
The ONNX Model Zoo is a collection of pre-trained, state-of-the-art models in the ONNX format contributed by community members like you.
Variants§
Trait Implementations§
Source§impl Clone for AvailableOnnxModel
impl Clone for AvailableOnnxModel
Source§fn clone(&self) -> AvailableOnnxModel
fn clone(&self) -> AvailableOnnxModel
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 AvailableOnnxModel
impl Debug for AvailableOnnxModel
Source§impl From<BodyFaceGestureAnalysis> for AvailableOnnxModel
impl From<BodyFaceGestureAnalysis> for AvailableOnnxModel
Source§fn from(model: BodyFaceGestureAnalysis) -> Self
fn from(model: BodyFaceGestureAnalysis) -> Self
Converts to this type from the input type.
Source§impl From<DomainBasedImageClassification> for AvailableOnnxModel
impl From<DomainBasedImageClassification> for AvailableOnnxModel
Source§fn from(model: DomainBasedImageClassification) -> Self
fn from(model: DomainBasedImageClassification) -> Self
Converts to this type from the input type.
Source§impl From<FastNeuralStyleTransferStyle> for AvailableOnnxModel
impl From<FastNeuralStyleTransferStyle> for AvailableOnnxModel
Source§fn from(style: FastNeuralStyleTransferStyle) -> Self
fn from(style: FastNeuralStyleTransferStyle) -> Self
Converts to this type from the input type.
Source§impl From<GPT2> for AvailableOnnxModel
impl From<GPT2> for AvailableOnnxModel
Source§impl From<ImageClassification> for AvailableOnnxModel
impl From<ImageClassification> for AvailableOnnxModel
Source§fn from(model: ImageClassification) -> Self
fn from(model: ImageClassification) -> Self
Converts to this type from the input type.
Source§impl From<ImageManipulation> for AvailableOnnxModel
impl From<ImageManipulation> for AvailableOnnxModel
Source§fn from(model: ImageManipulation) -> Self
fn from(model: ImageManipulation) -> Self
Converts to this type from the input type.
Source§impl From<InceptionVersion> for AvailableOnnxModel
impl From<InceptionVersion> for AvailableOnnxModel
Source§fn from(variant: InceptionVersion) -> Self
fn from(variant: InceptionVersion) -> Self
Converts to this type from the input type.
Source§impl From<MachineComprehension> for AvailableOnnxModel
impl From<MachineComprehension> for AvailableOnnxModel
Source§fn from(model: MachineComprehension) -> Self
fn from(model: MachineComprehension) -> Self
Converts to this type from the input type.
Source§impl From<ObjectDetectionImageSegmentation> for AvailableOnnxModel
impl From<ObjectDetectionImageSegmentation> for AvailableOnnxModel
Source§fn from(model: ObjectDetectionImageSegmentation) -> Self
fn from(model: ObjectDetectionImageSegmentation) -> Self
Converts to this type from the input type.
Source§impl From<ResNet> for AvailableOnnxModel
impl From<ResNet> for AvailableOnnxModel
Source§impl From<RoBERTa> for AvailableOnnxModel
impl From<RoBERTa> for AvailableOnnxModel
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 AvailableOnnxModel
impl RefUnwindSafe for AvailableOnnxModel
impl Send for AvailableOnnxModel
impl Sync for AvailableOnnxModel
impl Unpin for AvailableOnnxModel
impl UnwindSafe for AvailableOnnxModel
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