/packages/modules/NeuralNetworks/common/operations/ |
D | Broadcast.cpp | 158 int32_t output_activation_min; in addQuant8() local 162 CalculateActivationRangeInt8(activation, shapeOut, &output_activation_min, in addQuant8() 165 CalculateActivationRangeUint8(activation, shapeOut, &output_activation_min, in addQuant8() 180 tflite::SetActivationParams(output_activation_min, output_activation_max, &op_params); in addQuant8() 250 float output_activation_min, output_activation_max; in mulFloat32() local 251 CalculateActivationRangeFloat(activation, &output_activation_min, &output_activation_max); in mulFloat32() 255 output_activation_min, output_activation_max, out, in mulFloat32() 283 int32_t output_activation_min; in mulQuant8() local 286 CalculateActivationRangeInt8(activation, shapeOut, &output_activation_min, in mulQuant8() 289 CalculateActivationRangeUint8(activation, shapeOut, &output_activation_min, in mulQuant8() [all …]
|
D | GroupedConv2D.cpp | 55 float output_activation_min = 0.0f, output_activation_max = 0.0f; in groupedConvFloat32() local 56 CalculateActivationRangeFloat(activation, &output_activation_min, &output_activation_max); in groupedConvFloat32() 89 sum = std::max(std::min(sum, output_activation_max), output_activation_min); in groupedConvFloat32() 126 int32_t output_activation_min = 0, output_activation_max = 0; in groupedConvQuant8() local 127 CalculateActivationRange<T>(activation, outputShape, &output_activation_min, in groupedConvQuant8() 167 sum = std::max(std::min(sum, output_activation_max), output_activation_min); in groupedConvQuant8() 230 int32_t output_activation_min = 0, output_activation_max = 0; in groupedConvQuant8PerChannel() local 231 CalculateActivationRange<T>(activation, outputShape, &output_activation_min, in groupedConvQuant8PerChannel() 271 sum = std::max(std::min(sum, output_activation_max), output_activation_min); in groupedConvQuant8PerChannel()
|
D | Pooling.cpp | 117 int32_t output_activation_min = 0; in toTfliteParam() local 119 CalculateActivationRangeUint8(activation, output, &output_activation_min, in toTfliteParam() 121 params.quantized_activation_min = output_activation_min; in toTfliteParam() 124 int32_t output_activation_min = 0; in toTfliteParam() local 126 CalculateActivationRangeInt8(activation, output, &output_activation_min, in toTfliteParam() 128 params.quantized_activation_min = output_activation_min; in toTfliteParam() 131 float output_activation_min, output_activation_max; in toTfliteParam() local 132 CalculateActivationRangeFloat(activation, &output_activation_min, in toTfliteParam() 134 params.float_activation_min = output_activation_min; in toTfliteParam()
|
D | Conv2D.cpp | 204 float output_activation_min, output_activation_max; in convNhwc() 205 CalculateActivationRangeFloat(activation, &output_activation_min, &output_activation_max); in convNhwc() 218 output_activation_min, output_activation_max, outputData, in convNhwc() 240 int32_t output_activation_min = 0; in convNhwc() local 248 CalculateActivationRangeUint8(activation, outputShape, &output_activation_min, in convNhwc() 269 output_activation_min, output_activation_max, outputData, in convNhwc() 392 int32_t output_activation_min = 0, output_activation_max = 0; in convQuant8PerChannelNhwc() local 393 CalculateActivationRangeUint8(activation, outputShape, &output_activation_min, in convQuant8PerChannelNhwc() 432 sum = std::max(std::min(sum, output_activation_max), output_activation_min); in convQuant8PerChannelNhwc() 483 int32_t output_activation_min = 0, output_activation_max = 0; in convQuant8PerChannelNhwc() local [all …]
|
D | DepthwiseConv2D.cpp | 144 float output_activation_min, output_activation_max; in depthwiseConvNhwc() local 145 CalculateActivationRangeFloat(activation, &output_activation_min, &output_activation_max); in depthwiseConvNhwc() 155 .float_activation_min = output_activation_min, in depthwiseConvNhwc() 207 int32_t output_activation_min = 0; in depthwiseConvNhwc() local 215 CalculateActivationRangeUint8(activation, outputShape, &output_activation_min, in depthwiseConvNhwc() 231 .quantized_activation_min = output_activation_min, in depthwiseConvNhwc() 319 int32_t output_activation_min = 0, output_activation_max = 0; in depthwiseConvQuant8PerChannelNhwc() local 320 CalculateActivationRange<T>(activation, outputShape, &output_activation_min, in depthwiseConvQuant8PerChannelNhwc() 359 sum = std::max(std::min(sum, output_activation_max), output_activation_min); in depthwiseConvQuant8PerChannelNhwc()
|
D | FullyConnected.cpp | 61 float output_activation_min, output_activation_max; in fullyConnectedFloat32() local 62 CalculateActivationRangeFloat(activation, &output_activation_min, &output_activation_max); in fullyConnectedFloat32() 73 output_activation_min, output_activation_max, in fullyConnectedFloat32() 80 output_activation_min, output_activation_max, in fullyConnectedFloat32()
|
D | Activation.cpp | 128 int32_t output_activation_min = 0; in reluXQuant8() local 131 CalculateActivationRangeUint8(activation, inputShape, &output_activation_min, in reluXQuant8() 136 std::max((uint8_t)output_activation_min, *inputData)); in reluXQuant8() 223 int32_t output_activation_min = 0; in reluXQuant8Signed() local 226 CalculateActivationRangeInt8(activation, inputShape, &output_activation_min, in reluXQuant8Signed() 231 std::max((int8_t)output_activation_min, *inputData)); in reluXQuant8Signed()
|