ANeuralNetworksSymmPerChannelQuantParams

#include <NeuralNetworks.h>

Parameters for ANEURALNETWORKS_TENSOR_QUANT8_SYMM_PER_CHANNEL operand.

Summary

Public attributes

channelDim
uint32_t
scaleCount
uint32_t
The size of the scale array.
scales
const float *
The array of scaling values for each channel.

Public attributes

channelDim

uint32_t ANeuralNetworksSymmPerChannelQuantParams::channelDim

scaleCount

uint32_t ANeuralNetworksSymmPerChannelQuantParams::scaleCount

The size of the scale array.

Should be equal to dimension[channelDim] of the Operand.

scales

const float * ANeuralNetworksSymmPerChannelQuantParams::scales

The array of scaling values for each channel.

Each value must be greater than zero.