#[repr(u32)]pub enum TfLiteQuantizationType {
kTfLiteNoQuantization = 0,
kTfLiteAffineQuantization = 1,
}
Expand description
SupportedQuantizationTypes.
Variants§
kTfLiteNoQuantization = 0
No quantization.
kTfLiteAffineQuantization = 1
Affine quantization (with support for per-channel quantization). Corresponds to TfLiteAffineQuantization.
Trait Implementations§
Source§impl Clone for TfLiteQuantizationType
impl Clone for TfLiteQuantizationType
Source§fn clone(&self) -> TfLiteQuantizationType
fn clone(&self) -> TfLiteQuantizationType
Returns a duplicate 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 TfLiteQuantizationType
impl Debug for TfLiteQuantizationType
Source§impl Hash for TfLiteQuantizationType
impl Hash for TfLiteQuantizationType
Source§impl PartialEq for TfLiteQuantizationType
impl PartialEq for TfLiteQuantizationType
impl Copy for TfLiteQuantizationType
impl Eq for TfLiteQuantizationType
impl StructuralPartialEq for TfLiteQuantizationType
Auto Trait Implementations§
impl Freeze for TfLiteQuantizationType
impl RefUnwindSafe for TfLiteQuantizationType
impl Send for TfLiteQuantizationType
impl Sync for TfLiteQuantizationType
impl Unpin for TfLiteQuantizationType
impl UnwindSafe for TfLiteQuantizationType
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