ANeuralNetworksSymmPerChannelQuantParams
Parameters for ANEURALNETWORKS_TENSOR_QUANT8_SYMM_PER_CHANNEL operand.
Summary
Public attributes |
|
---|---|
channelDim
|
uint32_t
The index of the channel dimension.
|
scaleCount
|
uint32_t
The size of the scale array.
|
scales
|
const float *
The array of scaling values for each channel.
|
Public attributes
channelDim
Declared inandroid/NeuralNetworksTypes.h
uint32_t ANeuralNetworksSymmPerChannelQuantParams::channelDim
The index of the channel dimension.
scaleCount
Declared inandroid/NeuralNetworksTypes.h
uint32_t ANeuralNetworksSymmPerChannelQuantParams::scaleCount
The size of the scale array.
Should be equal to dimension[channelDim] of the Operand.
scales
Declared inandroid/NeuralNetworksTypes.h
const float * ANeuralNetworksSymmPerChannelQuantParams::scales
The array of scaling values for each channel.
Each value must be greater than zero.