Stay organized with collections
Save and categorize content based on your preferences.
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 in android/NeuralNetworksTypes.h
uint32_t ANeuralNetworksSymmPerChannelQuantParams::channelDim
The index of the channel dimension.
scaleCount
Declared in android/NeuralNetworksTypes.h
uint32_t ANeuralNetworksSymmPerChannelQuantParams::scaleCount
The size of the scale array.
Should be equal to dimension[channelDim] of the Operand.
scales
Declared in android/NeuralNetworksTypes.h
const float * ANeuralNetworksSymmPerChannelQuantParams::scales
The array of scaling values for each channel.
Each value must be greater than zero.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[],[],null,["# ANeuralNetworksSymmPerChannelQuantParams Struct Reference\n\nANeuralNetworksSymmPerChannelQuantParams\n========================================\n\nParameters for ANEURALNETWORKS_TENSOR_QUANT8_SYMM_PER_CHANNEL operand.\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------|---------------------------------------------------------------|\n| [channelDim](#struct_a_neural_networks_symm_per_channel_quant_params_1ac5b11412a315cf78a317586e27072ad0) | `uint32_t` The index of the channel dimension. |\n| [scaleCount](#struct_a_neural_networks_symm_per_channel_quant_params_1a7558d11372152638e6b34dc7edc19e39) | `uint32_t` The size of the scale array. |\n| [scales](#struct_a_neural_networks_symm_per_channel_quant_params_1a11b849cda13d38dc1bd70d66e7c57b20) | `const float *` The array of scaling values for each channel. |\n\nPublic attributes\n-----------------\n\n### channelDim\n\nDeclared in `android/NeuralNetworksTypes.h` \n\n```scdoc\nuint32_t ANeuralNetworksSymmPerChannelQuantParams::channelDim\n``` \nThe index of the channel dimension. \n\n### scaleCount\n\nDeclared in `android/NeuralNetworksTypes.h` \n\n```scdoc\nuint32_t ANeuralNetworksSymmPerChannelQuantParams::scaleCount\n``` \nThe size of the scale array.\n\nShould be equal to dimension\\[channelDim\\] of the Operand. \n\n### scales\n\nDeclared in `android/NeuralNetworksTypes.h` \n\n```gdscript\nconst float * ANeuralNetworksSymmPerChannelQuantParams::scales\n``` \nThe array of scaling values for each channel.\n\nEach value must be greater than zero."]]