Enum tch::QEngine[][src]

pub enum QEngine {
    NoQEngine,
    FBGEMM,
    QNNPACK,
}

Quantization engines

Variants

NoQEngine
FBGEMM
QNNPACK

Implementations

impl QEngine[src]

pub fn set(self) -> Result<(), TchError>[src]

Trait Implementations

impl Clone for QEngine[src]

impl Copy for QEngine[src]

impl Debug for QEngine[src]

impl Eq for QEngine[src]

impl Hash for QEngine[src]

impl PartialEq<QEngine> for QEngine[src]

impl StructuralEq for QEngine[src]

impl StructuralPartialEq for QEngine[src]

Auto Trait Implementations

impl RefUnwindSafe for QEngine

impl Send for QEngine

impl Sync for QEngine

impl Unpin for QEngine

impl UnwindSafe for QEngine

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,