/frameworks/ml/nn/common/operations/ |
D | Broadcast.cpp | 155 int32_t output_activation_min; in addQuant8() local 159 CalculateActivationRangeInt8(activation, shapeOut, &output_activation_min, in addQuant8() 162 CalculateActivationRangeUint8(activation, shapeOut, &output_activation_min, in addQuant8() 177 tflite::SetActivationParams(output_activation_min, output_activation_max, &op_params); in addQuant8() 247 float output_activation_min, output_activation_max; in mulFloat32() local 248 CalculateActivationRangeFloat(activation, &output_activation_min, &output_activation_max); in mulFloat32() 252 output_activation_min, output_activation_max, out, in mulFloat32() 280 int32_t output_activation_min; in mulQuant8() local 283 CalculateActivationRangeInt8(activation, shapeOut, &output_activation_min, in mulQuant8() 286 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 | 115 int32_t output_activation_min = 0; in toTfliteParam() local 117 CalculateActivationRangeUint8(activation, output, &output_activation_min, in toTfliteParam() 119 params.quantized_activation_min = output_activation_min; in toTfliteParam() 122 int32_t output_activation_min = 0; in toTfliteParam() local 124 CalculateActivationRangeInt8(activation, output, &output_activation_min, in toTfliteParam() 126 params.quantized_activation_min = output_activation_min; in toTfliteParam() 129 float output_activation_min, output_activation_max; in toTfliteParam() local 130 CalculateActivationRangeFloat(activation, &output_activation_min, in toTfliteParam() 132 params.float_activation_min = output_activation_min; in toTfliteParam()
|
D | Conv2D.cpp | 203 float output_activation_min, output_activation_max; in convNhwc() 204 CalculateActivationRangeFloat(activation, &output_activation_min, &output_activation_max); in convNhwc() 217 output_activation_min, output_activation_max, outputData, in convNhwc() 239 int32_t output_activation_min = 0; in convNhwc() local 247 CalculateActivationRangeUint8(activation, outputShape, &output_activation_min, in convNhwc() 268 output_activation_min, output_activation_max, outputData, in convNhwc() 391 int32_t output_activation_min = 0, output_activation_max = 0; in convQuant8PerChannelNhwc() local 392 CalculateActivationRangeUint8(activation, outputShape, &output_activation_min, in convQuant8PerChannelNhwc() 431 sum = std::max(std::min(sum, output_activation_max), output_activation_min); in convQuant8PerChannelNhwc() 482 int32_t output_activation_min = 0, output_activation_max = 0; in convQuant8PerChannelNhwc() local [all …]
|
D | DepthwiseConv2D.cpp | 142 float output_activation_min, output_activation_max; in depthwiseConvNhwc() local 143 CalculateActivationRangeFloat(activation, &output_activation_min, &output_activation_max); in depthwiseConvNhwc() 153 .float_activation_min = output_activation_min, in depthwiseConvNhwc() 205 int32_t output_activation_min = 0; in depthwiseConvNhwc() local 213 CalculateActivationRangeUint8(activation, outputShape, &output_activation_min, in depthwiseConvNhwc() 229 .quantized_activation_min = output_activation_min, in depthwiseConvNhwc() 317 int32_t output_activation_min = 0, output_activation_max = 0; in depthwiseConvQuant8PerChannelNhwc() local 318 CalculateActivationRange<T>(activation, outputShape, &output_activation_min, in depthwiseConvQuant8PerChannelNhwc() 357 sum = std::max(std::min(sum, output_activation_max), output_activation_min); in depthwiseConvQuant8PerChannelNhwc()
|
D | FullyConnected.cpp | 60 float output_activation_min, output_activation_max; in fullyConnectedFloat32() local 61 CalculateActivationRangeFloat(activation, &output_activation_min, &output_activation_max); in fullyConnectedFloat32() 72 output_activation_min, output_activation_max, in fullyConnectedFloat32() 79 output_activation_min, output_activation_max, in fullyConnectedFloat32()
|
D | Activation.cpp | 127 int32_t output_activation_min = 0; in reluXQuant8() local 130 CalculateActivationRangeUint8(activation, inputShape, &output_activation_min, in reluXQuant8() 135 std::max((uint8_t)output_activation_min, *inputData)); in reluXQuant8() 222 int32_t output_activation_min = 0; in reluXQuant8Signed() local 225 CalculateActivationRangeInt8(activation, inputShape, &output_activation_min, in reluXQuant8Signed() 230 std::max((int8_t)output_activation_min, *inputData)); in reluXQuant8Signed()
|