pub struct QuantizedMatmulConfig {
pub rows: usize,
pub columns: usize,
pub reduction: usize,
pub activation_row_stride: usize,
pub weight_row_stride: usize,
pub output_row_stride: usize,
pub activation_zero_point: i32,
pub weight_zero_point: i32,
pub output_scale: f32,
}Fields§
§rows: usize§columns: usize§reduction: usize§activation_row_stride: usize§weight_row_stride: usize§output_row_stride: usize§activation_zero_point: i32§weight_zero_point: i32§output_scale: f32Trait Implementations§
Source§impl Clone for QuantizedMatmulConfig
impl Clone for QuantizedMatmulConfig
Source§fn clone(&self) -> QuantizedMatmulConfig
fn clone(&self) -> QuantizedMatmulConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for QuantizedMatmulConfig
Source§impl Debug for QuantizedMatmulConfig
impl Debug for QuantizedMatmulConfig
Source§impl PartialEq for QuantizedMatmulConfig
impl PartialEq for QuantizedMatmulConfig
Source§fn eq(&self, other: &QuantizedMatmulConfig) -> bool
fn eq(&self, other: &QuantizedMatmulConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for QuantizedMatmulConfig
Auto Trait Implementations§
impl Freeze for QuantizedMatmulConfig
impl RefUnwindSafe for QuantizedMatmulConfig
impl Send for QuantizedMatmulConfig
impl Sync for QuantizedMatmulConfig
impl Unpin for QuantizedMatmulConfig
impl UnsafeUnpin for QuantizedMatmulConfig
impl UnwindSafe for QuantizedMatmulConfig
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