#[repr(C)]pub struct ANeuralNetworksSymmPerChannelQuantParams {
pub channelDim: u32,
pub scaleCount: u32,
pub scales: *const f32,
}Expand description
Parameters for ANEURALNETWORKS_TENSOR_QUANT8_SYMM_PER_CHANNEL operand.
Fields§
§channelDim: u32§scaleCount: u32The size of the scale array. Should be equal to dimension[channelDim] of the Operand.
scales: *const f32The array of scaling values for each channel. Each value must be greater than zero.
Trait Implementations§
Source§impl Clone for ANeuralNetworksSymmPerChannelQuantParams
impl Clone for ANeuralNetworksSymmPerChannelQuantParams
Source§fn clone(&self) -> ANeuralNetworksSymmPerChannelQuantParams
fn clone(&self) -> ANeuralNetworksSymmPerChannelQuantParams
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 moreimpl Copy for ANeuralNetworksSymmPerChannelQuantParams
Auto Trait Implementations§
impl Freeze for ANeuralNetworksSymmPerChannelQuantParams
impl RefUnwindSafe for ANeuralNetworksSymmPerChannelQuantParams
impl !Send for ANeuralNetworksSymmPerChannelQuantParams
impl !Sync for ANeuralNetworksSymmPerChannelQuantParams
impl Unpin for ANeuralNetworksSymmPerChannelQuantParams
impl UnwindSafe for ANeuralNetworksSymmPerChannelQuantParams
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