Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/operations/
DBroadcast.cpp156 int32_t output_activation_max; in addQuant8() local
160 &output_activation_max); in addQuant8()
163 &output_activation_max); 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()
281 int32_t output_activation_max; in mulQuant8() local
284 &output_activation_max); in mulQuant8()
287 &output_activation_max); in mulQuant8()
[all …]
DGroupedConv2D.cpp55 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
128 &output_activation_max); 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
232 &output_activation_max); in groupedConvQuant8PerChannel()
271 sum = std::max(std::min(sum, output_activation_max), output_activation_min); in groupedConvQuant8PerChannel()
DPooling.cpp116 int32_t output_activation_max = 0; in toTfliteParam() local
118 &output_activation_max); in toTfliteParam()
120 params.quantized_activation_max = output_activation_max; in toTfliteParam()
123 int32_t output_activation_max = 0; in toTfliteParam() local
125 &output_activation_max); in toTfliteParam()
127 params.quantized_activation_max = output_activation_max; in toTfliteParam()
129 float output_activation_min, output_activation_max; in toTfliteParam() local
131 &output_activation_max); in toTfliteParam()
133 params.float_activation_max = output_activation_max; in toTfliteParam()
DConv2D.cpp203 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()
240 int32_t output_activation_max = 0; in convNhwc() local
248 &output_activation_max); 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
393 &output_activation_max); 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 …]
DDepthwiseConv2D.cpp142 float output_activation_min, output_activation_max; in depthwiseConvNhwc() local
143 CalculateActivationRangeFloat(activation, &output_activation_min, &output_activation_max); in depthwiseConvNhwc()
154 .float_activation_max = output_activation_max, in depthwiseConvNhwc()
206 int32_t output_activation_max = 0; in depthwiseConvNhwc() local
214 &output_activation_max); in depthwiseConvNhwc()
230 .quantized_activation_max = output_activation_max, in depthwiseConvNhwc()
317 int32_t output_activation_min = 0, output_activation_max = 0; in depthwiseConvQuant8PerChannelNhwc() local
319 &output_activation_max); in depthwiseConvQuant8PerChannelNhwc()
357 sum = std::max(std::min(sum, output_activation_max), output_activation_min); in depthwiseConvQuant8PerChannelNhwc()
DFullyConnected.cpp60 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()
DActivation.cpp128 int32_t output_activation_max = 0; in reluXQuant8() local
131 &output_activation_max); in reluXQuant8()
134 *outputData = std::min((uint8_t)output_activation_max, in reluXQuant8()
223 int32_t output_activation_max = 0; in reluXQuant8Signed() local
226 &output_activation_max); in reluXQuant8Signed()
229 *outputData = std::min((int8_t)output_activation_max, in reluXQuant8Signed()