Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/cpu_operations/
DBroadcast.cpp159 int32_t output_activation_max; in addQuant8() local
163 &output_activation_max); in addQuant8()
166 &output_activation_max); 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()
284 int32_t output_activation_max; in mulQuant8() local
287 &output_activation_max); in mulQuant8()
290 &output_activation_max); in mulQuant8()
[all …]
DPooling.cpp120 int32_t output_activation_max = 0; in toTfliteParam() local
122 &output_activation_max); in toTfliteParam()
124 params.quantized_activation_max = output_activation_max; in toTfliteParam()
127 int32_t output_activation_max = 0; in toTfliteParam() local
129 &output_activation_max); in toTfliteParam()
131 params.quantized_activation_max = output_activation_max; in toTfliteParam()
133 float output_activation_min, output_activation_max; in toTfliteParam() local
135 &output_activation_max); in toTfliteParam()
137 params.float_activation_max = output_activation_max; 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
132 &output_activation_max); 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
237 &output_activation_max); 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()
238 int32_t output_activation_max = 0; in convNhwc() local
246 &output_activation_max); 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
391 &output_activation_max); 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()
152 .float_activation_max = output_activation_max, in depthwiseConvNhwc()
204 int32_t output_activation_max = 0; in depthwiseConvNhwc() local
212 &output_activation_max); in depthwiseConvNhwc()
228 .quantized_activation_max = output_activation_max, in depthwiseConvNhwc()
315 int32_t output_activation_min = 0, output_activation_max = 0; in depthwiseConvQuant8PerChannelNhwc() local
317 &output_activation_max); in depthwiseConvQuant8PerChannelNhwc()
355 sum = std::max(std::min(sum, output_activation_max), output_activation_min); in depthwiseConvQuant8PerChannelNhwc()
DActivation.cpp131 int32_t output_activation_max = 0; in reluXQuant8() local
134 &output_activation_max); in reluXQuant8()
137 *outputData = std::min((uint8_t)output_activation_max, in reluXQuant8()
226 int32_t output_activation_max = 0; in reluXQuant8Signed() local
229 &output_activation_max); in reluXQuant8Signed()
232 *outputData = std::min((int8_t)output_activation_max, in reluXQuant8Signed()