#[repr(C)]pub struct TfLiteQuantization {
pub type_: TfLiteQuantizationType,
pub params: *mut c_void,
}
Expand description
Structure specifying the quantization used by the tensor, if-any.
Fields§
§type_: TfLiteQuantizationType
The type of quantization held by params.
params: *mut c_void
Holds an optional reference to a quantization param structure. The actual
type depends on the value of the type
field (see the comment there for
the values and corresponding types).
Trait Implementations§
Source§impl Clone for TfLiteQuantization
impl Clone for TfLiteQuantization
Source§fn clone(&self) -> TfLiteQuantization
fn clone(&self) -> TfLiteQuantization
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 TfLiteQuantization
impl Debug for TfLiteQuantization
Source§impl Default for TfLiteQuantization
impl Default for TfLiteQuantization
Source§impl PartialEq for TfLiteQuantization
impl PartialEq for TfLiteQuantization
impl Copy for TfLiteQuantization
impl Eq for TfLiteQuantization
impl StructuralPartialEq for TfLiteQuantization
Auto Trait Implementations§
impl Freeze for TfLiteQuantization
impl RefUnwindSafe for TfLiteQuantization
impl !Send for TfLiteQuantization
impl !Sync for TfLiteQuantization
impl Unpin for TfLiteQuantization
impl UnwindSafe for TfLiteQuantization
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