pub struct PerChannelQuantParams<'a> {
pub multiplier: &'a [i32],
pub shift: &'a [i32],
}Expand description
Per-channel quantization parameters.
Fields§
§multiplier: &'a [i32]Per-channel multipliers.
shift: &'a [i32]Per-channel shifts.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for PerChannelQuantParams<'a>
impl<'a> Clone for PerChannelQuantParams<'a>
Source§fn clone(&self) -> PerChannelQuantParams<'a>
fn clone(&self) -> PerChannelQuantParams<'a>
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 moreSource§impl<'a> Debug for PerChannelQuantParams<'a>
impl<'a> Debug for PerChannelQuantParams<'a>
impl<'a> Eq for PerChannelQuantParams<'a>
Source§impl<'a> PartialEq for PerChannelQuantParams<'a>
impl<'a> PartialEq for PerChannelQuantParams<'a>
impl<'a> StructuralPartialEq for PerChannelQuantParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for PerChannelQuantParams<'a>
impl<'a> RefUnwindSafe for PerChannelQuantParams<'a>
impl<'a> Send for PerChannelQuantParams<'a>
impl<'a> Sync for PerChannelQuantParams<'a>
impl<'a> Unpin for PerChannelQuantParams<'a>
impl<'a> UnsafeUnpin for PerChannelQuantParams<'a>
impl<'a> UnwindSafe for PerChannelQuantParams<'a>
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