Home
last modified time | relevance | path

Searched refs:output_activation_min (Results 1 – 7 of 7) sorted by relevance

/packages/modules/NeuralNetworks/common/cpu_operations/
DBroadcast.cpp158 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 …]
DPooling.cpp119 int32_t output_activation_min = 0; in toTfliteParam() local
121 CalculateActivationRangeUint8(activation, output, &output_activation_min, in toTfliteParam()
123 params.quantized_activation_min = output_activation_min; in toTfliteParam()
126 int32_t output_activation_min = 0; in toTfliteParam() local
128 CalculateActivationRangeInt8(activation, output, &output_activation_min, in toTfliteParam()
130 params.quantized_activation_min = output_activation_min; in toTfliteParam()
133 float output_activation_min, output_activation_max; in toTfliteParam() local
134 CalculateActivationRangeFloat(activation, &output_activation_min, in toTfliteParam()
136 params.float_activation_min = output_activation_min; in toTfliteParam()
DGroupedConv2D.cpp59 float output_activation_min = 0.0f, output_activation_max = 0.0f; in groupedConvFloat32() local
60 CalculateActivationRangeFloat(activation, &output_activation_min, &output_activation_max); in groupedConvFloat32()
93 sum = std::max(std::min(sum, output_activation_max), output_activation_min); in groupedConvFloat32()
130 int32_t output_activation_min = 0, output_activation_max = 0; in groupedConvQuant8() local
131 CalculateActivationRange<T>(activation, outputShape, &output_activation_min, in groupedConvQuant8()
171 sum = std::max(std::min(sum, output_activation_max), output_activation_min); in groupedConvQuant8()
235 int32_t output_activation_min = 0, output_activation_max = 0; in groupedConvQuant8PerChannel() local
236 CalculateActivationRange<T>(activation, outputShape, &output_activation_min, in groupedConvQuant8PerChannel()
276 sum = std::max(std::min(sum, output_activation_max), output_activation_min); in groupedConvQuant8PerChannel()
DConv2D.cpp201 float output_activation_min, output_activation_max; in convNhwc()
202 CalculateActivationRangeFloat(activation, &output_activation_min, &output_activation_max); in convNhwc()
215 output_activation_min, output_activation_max, outputData, in convNhwc()
237 int32_t output_activation_min = 0; in convNhwc() local
245 CalculateActivationRangeUint8(activation, outputShape, &output_activation_min, in convNhwc()
266 output_activation_min, output_activation_max, outputData, in convNhwc()
389 int32_t output_activation_min = 0, output_activation_max = 0; in convQuant8PerChannelNhwc() local
390 CalculateActivationRangeUint8(activation, outputShape, &output_activation_min, in convQuant8PerChannelNhwc()
429 sum = std::max(std::min(sum, output_activation_max), output_activation_min); in convQuant8PerChannelNhwc()
480 int32_t output_activation_min = 0, output_activation_max = 0; in convQuant8PerChannelNhwc() local
[all …]
DFullyConnected.cpp57 float output_activation_min, output_activation_max; in fullyConnectedFloat32() local
58 CalculateActivationRangeFloat(activation, &output_activation_min, &output_activation_max); in fullyConnectedFloat32()
69 output_activation_min, output_activation_max, in fullyConnectedFloat32()
76 output_activation_min, output_activation_max, in fullyConnectedFloat32()
DDepthwiseConv2D.cpp140 float output_activation_min, output_activation_max; in depthwiseConvNhwc() local
141 CalculateActivationRangeFloat(activation, &output_activation_min, &output_activation_max); in depthwiseConvNhwc()
151 .float_activation_min = output_activation_min, in depthwiseConvNhwc()
203 int32_t output_activation_min = 0; in depthwiseConvNhwc() local
211 CalculateActivationRangeUint8(activation, outputShape, &output_activation_min, in depthwiseConvNhwc()
227 .quantized_activation_min = output_activation_min, in depthwiseConvNhwc()
315 int32_t output_activation_min = 0, output_activation_max = 0; in depthwiseConvQuant8PerChannelNhwc() local
316 CalculateActivationRange<T>(activation, outputShape, &output_activation_min, in depthwiseConvQuant8PerChannelNhwc()
355 sum = std::max(std::min(sum, output_activation_max), output_activation_min); in depthwiseConvQuant8PerChannelNhwc()
DActivation.cpp130 int32_t output_activation_min = 0; in reluXQuant8() local
133 CalculateActivationRangeUint8(activation, inputShape, &output_activation_min, in reluXQuant8()
138 std::max((uint8_t)output_activation_min, *inputData)); in reluXQuant8()
225 int32_t output_activation_min = 0; in reluXQuant8Signed() local
228 CalculateActivationRangeInt8(activation, inputShape, &output_activation_min, in reluXQuant8Signed()
233 std::max((int8_t)output_activation_min, *inputData)); in reluXQuant8Signed()