Home
last modified time | relevance | path

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

1234

/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dlegacy_reference_ops.h49 float output_activation_max, float* output_data, in DepthwiseConv() argument
62 op_params.float_activation_max = output_activation_max; in DepthwiseConv()
75 float output_activation_max, float* output_data, in DepthwiseConv() argument
80 output_activation_max, output_data, output_dims); in DepthwiseConv()
91 float output_activation_min, output_activation_max; in DepthwiseConv() local
92 GetActivationMinMax(Ac, &output_activation_min, &output_activation_max); in DepthwiseConv()
95 depth_multiplier, output_activation_min, output_activation_max, in DepthwiseConv()
120 int32 output_activation_max, uint8* output_data, in DepthwiseConv() argument
133 op_params.quantized_activation_max = output_activation_max; in DepthwiseConv()
154 int32 output_activation_max, uint8* output_data, in DepthwiseConv() argument
[all …]
Dfully_connected.h33 const float output_activation_max = params.float_activation_max; in FullyConnected() local
57 total + bias_value, output_activation_min, output_activation_max); in FullyConnected()
74 const int32_t output_activation_max = params.quantized_activation_max; in FullyConnected() local
78 TFLITE_DCHECK_LE(output_activation_min, output_activation_max); in FullyConnected()
104 acc = std::min(acc, output_activation_max); in FullyConnected()
122 const int32_t output_activation_max = params.quantized_activation_max; in FullyConnected() local
124 TFLITE_DCHECK_LE(output_activation_min, output_activation_max); in FullyConnected()
157 accum = std::min(accum, output_activation_max - output_offset); in FullyConnected()
173 const int32_t output_activation_max = params.quantized_activation_max; in ShuffledFullyConnected() local
174 TFLITE_DCHECK_LE(output_activation_min, output_activation_max); in ShuffledFullyConnected()
[all …]
Dmul.h50 T output_activation_max; in Mul() local
51 GetActivationParams(params, &output_activation_min, &output_activation_max); in Mul()
58 output_activation_max); in Mul()
123 T output_activation_max; in BroadcastMul4DSlow() local
124 GetActivationParams(params, &output_activation_min, &output_activation_max); in BroadcastMul4DSlow()
156 output_activation_min, output_activation_max); in BroadcastMul4DSlow()
Ddiv.h140 T output_activation_max; in BroadcastDivSlow() local
141 GetActivationParams(params, &output_activation_min, &output_activation_max); in BroadcastDivSlow()
168 output_activation_min, output_activation_max); in BroadcastDivSlow()
179 T output_activation_max; in Div() local
180 GetActivationParams(params, &output_activation_min, &output_activation_max); in Div()
187 output_activation_max); in Div()
Dconv.h38 const float output_activation_max = params.float_activation_max; in Conv() local
94 output_activation_max); in Conv()
122 const int32_t output_activation_max = params.quantized_activation_max; in Conv() local
123 TFLITE_DCHECK_LE(output_activation_min, output_activation_max); in Conv()
178 acc = std::min(acc, output_activation_max); in Conv()
204 const float output_activation_max = params.float_activation_max; in HybridConvPerChannel() local
254 output_activation_max); in HybridConvPerChannel()
Ddepthwiseconv_uint8.h106 const int32_t output_activation_max = params.quantized_activation_max; in Run() local
116 TFLITE_DCHECK_LE(output_activation_min, output_activation_max); in Run()
164 acc = std::min(acc, output_activation_max); in Run()
194 const int32_t output_activation_max = params.quantized_activation_max; in RunPerChannel() local
203 TFLITE_DCHECK_LE(output_activation_min, output_activation_max); in RunPerChannel()
267 acc = std::min(acc, output_activation_max); in RunPerChannel()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dlegacy_optimized_ops.h145 float output_activation_max, float* output_data, in DepthwiseConv() argument
158 op_params.float_activation_max = output_activation_max; in DepthwiseConv()
176 float output_activation_max, float* output_data, in DepthwiseConv() argument
181 output_activation_max, output_data, output_dims); in DepthwiseConv()
192 float output_activation_min, output_activation_max; in DepthwiseConv() local
193 GetActivationMinMax(Ac, &output_activation_min, &output_activation_max); in DepthwiseConv()
196 depth_multiplier, output_activation_min, output_activation_max, in DepthwiseConv()
222 const int32 output_activation_max = params.quantized_activation_max; in LegacyDepthwiseConvWithRounding() local
230 TFLITE_DCHECK_LE(output_activation_min, output_activation_max); in LegacyDepthwiseConvWithRounding()
289 int32 output_activation_max, uint8* output_data, in DepthwiseConv() argument
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dfully_connected.h35 const int32_t output_activation_max = params.quantized_activation_max; in FullyConnected() local
39 TFLITE_DCHECK_LE(output_activation_min, output_activation_max); in FullyConnected()
59 acc = std::min(acc, output_activation_max); in FullyConnected()
75 const int32_t output_activation_max = params.quantized_activation_max; in FullyConnected() local
79 TFLITE_DCHECK_LE(output_activation_min, output_activation_max); in FullyConnected()
99 acc_scaled = std::min(acc_scaled, output_activation_max); in FullyConnected()
Ddepthwise_conv.h41 const int32_t output_activation_max = params.quantized_activation_max; in DepthwiseConvPerChannel() local
48 TFLITE_DCHECK_LE(output_activation_min, output_activation_max); in DepthwiseConvPerChannel()
112 acc = std::min(acc, output_activation_max); in DepthwiseConvPerChannel()
138 const int32_t output_activation_max = params.quantized_activation_max; in DepthwiseConvPerChannel() local
145 TFLITE_DCHECK_LE(output_activation_min, output_activation_max); in DepthwiseConvPerChannel()
197 scaled_acc = std::min(scaled_acc, output_activation_max); in DepthwiseConvPerChannel()
223 const float output_activation_max = params.float_activation_max; in DepthwiseConvHybridPerChannel() local
278 output_activation_max); in DepthwiseConvHybridPerChannel()
Dconv.h43 const int32_t output_activation_max = params.quantized_activation_max; in ConvPerChannel() local
46 TFLITE_DCHECK_LE(output_activation_min, output_activation_max); in ConvPerChannel()
118 acc = std::min(acc, output_activation_max); in ConvPerChannel()
146 const int32_t output_activation_max = params.quantized_activation_max; in ConvPerChannel() local
149 TFLITE_DCHECK_LE(output_activation_min, output_activation_max); in ConvPerChannel()
209 scaled_acc = std::min(scaled_acc, output_activation_max); in ConvPerChannel()
Dtranspose_conv.h57 const int32_t output_activation_max = std::numeric_limits<int8_t>::max(); in TransposeConv() local
58 TFLITE_DCHECK_LE(output_activation_min, output_activation_max); in TransposeConv()
113 acc = std::min(acc, output_activation_max); in TransposeConv()
154 const int32_t output_activation_max = std::numeric_limits<int16_t>::max(); in TransposeConv() local
155 TFLITE_DCHECK_LE(output_activation_min, output_activation_max); in TransposeConv()
209 scaled_acc = std::min(scaled_acc, output_activation_max); in TransposeConv()
/external/tensorflow/tensorflow/lite/kernels/
Ddiv.cc53 int32 output_activation_max; member
103 &data->output_activation_max)); in Prepare()
119 data_type output_activation_min, output_activation_max; \ in EvalDiv()
121 &output_activation_max); \ in EvalDiv()
122 SetActivationParams(output_activation_min, output_activation_max, \ in EvalDiv()
169 data->output_activation_max, &op_params); in EvalQuantized()
Dmul.cc55 int32 output_activation_max; member
104 &data->output_activation_max)); in Prepare()
122 data_type output_activation_min, output_activation_max; \ in EvalMul()
124 &output_activation_max); \ in EvalMul()
125 SetActivationParams(output_activation_min, output_activation_max, \ in EvalMul()
174 data->output_activation_max, &op_params); in EvalQuantized()
239 data->output_activation_max, &op_params); \ in EvalQuantized()
Dadd.cc60 int32 output_activation_max; member
197 &data->output_activation_max)); in Prepare()
226 &data->output_activation_max)); in Prepare()
240 data_type output_activation_min, output_activation_max; \ in EvalAdd()
242 &output_activation_max); \ in EvalAdd()
243 SetActivationParams(output_activation_min, output_activation_max, \ in EvalAdd()
301 data->output_activation_max, &op_params); in EvalAddQuantized()
353 data->output_activation_max, &op_params); in EvalAddQuantized()
Ddepthwise_conv.cc70 int32_t output_activation_max; member
192 &data->output_activation_min, &data->output_activation_max, in Prepare()
299 float output_activation_min, output_activation_max; in EvalFloat() local
301 &output_activation_max); in EvalFloat()
312 op_params.float_activation_max = output_activation_max; in EvalFloat()
356 op_params.quantized_activation_max = data->output_activation_max; in EvalQuantized()
395 op_params.quantized_activation_max = data->output_activation_max; in EvalQuantizedPerChannel()
435 op_params.quantized_activation_max = data->output_activation_max; in EvalQuantizedPerChannel16x8()
455 float output_activation_min, output_activation_max; in EvalHybridPerChannel() local
457 &output_activation_max); in EvalHybridPerChannel()
[all …]
/external/tensorflow/tensorflow/lite/micro/kernels/cmsis_nn/
Dmul.cc38 int32_t output_activation_max; member
63 &data->output_activation_max)); in CalculateOpData()
108 SetActivationParams(data.output_activation_min, data.output_activation_max, in EvalQuantized()
157 float output_activation_min, output_activation_max; in EvalFloat() local
159 &output_activation_max); in EvalFloat()
161 SetActivationParams(output_activation_min, output_activation_max, &op_params); in EvalFloat()
Dadd.cc46 int32_t output_activation_max; member
93 &data->output_activation_max)); in CalculateOpData()
102 float output_activation_min, output_activation_max; in EvalAdd() local
104 &output_activation_max); in EvalAdd()
106 SetActivationParams(output_activation_min, output_activation_max, &op_params); in EvalAdd()
140 data->output_activation_max, &op_params); in EvalAddQuantized()
/external/tensorflow/tensorflow/lite/micro/kernels/
Ddiv.cc53 int32 output_activation_max; member
103 &data->output_activation_max)); in Prepare()
119 data_type output_activation_min, output_activation_max; \ in EvalDiv()
121 &output_activation_max); \ in EvalDiv()
122 SetActivationParams(output_activation_min, output_activation_max, \ in EvalDiv()
169 data->output_activation_max, &op_params); in EvalQuantized()
Dsub.cc46 int32_t output_activation_max; member
92 &data->output_activation_max)); in CalculateOpData()
125 float output_activation_min, output_activation_max; in EvalSub() local
127 &output_activation_max); in EvalSub()
129 SetActivationParams(output_activation_min, output_activation_max, &op_params); in EvalSub()
167 data->output_activation_max, &op_params); in EvalSubQuantized()
Ddepthwise_conv.cc60 int32_t output_activation_max; member
94 &data->output_activation_min, &data->output_activation_max, in CalculateOpData()
172 float output_activation_min, output_activation_max; in EvalFloat() local
174 &output_activation_max); in EvalFloat()
187 op_params.float_activation_max = output_activation_max; in EvalFloat()
254 op_params.quantized_activation_max = data.output_activation_max; in EvalQuantized()
/external/tensorflow/tensorflow/lite/micro/kernels/vexriscv/
Ddepthwise_conv.cc54 const int32_t output_activation_max = params.quantized_activation_max; in DepthwiseConvPerChannel() local
61 TFLITE_DCHECK_LE(output_activation_min, output_activation_max); in DepthwiseConvPerChannel()
148 value = std::min(value, output_activation_max); in DepthwiseConvPerChannel()
174 const int32_t output_activation_max = params.quantized_activation_max; in DepthwiseConv() local
184 TFLITE_DCHECK_LE(output_activation_min, output_activation_max); in DepthwiseConv()
255 value = std::min(value, output_activation_max); in DepthwiseConv()
299 int32_t output_activation_max; member
330 &data->output_activation_min, &data->output_activation_max, in CalculateOpData()
457 op_params.quantized_activation_max = data.output_activation_max; in EvalQuantized()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dconv_per_channel_quantized_16x8_test.cc116 int output_activation_max, int output_depth, in PickReasonableMultiplier() argument
193 const int output_activation_max = 32767; in TryTestOneConvFilter() local
243 params.quantized_activation_max = output_activation_max; in TryTestOneConvFilter()
259 params, output_activation_min, output_activation_max, output_depth, in TryTestOneConvFilter()
307 if (ref_res > output_activation_max) ref_res = output_activation_max; in TryTestOneConvFilter()
Ddepthwiseconv_per_channel_quantized_16x8_test.cc115 int output_activation_max, int output_depth, in PickReasonableMultiplier() argument
192 const int output_activation_max = 32767; in TryTestOneDepthwiseConv3x3Filter() local
237 params.quantized_activation_max = output_activation_max; in TryTestOneDepthwiseConv3x3Filter()
253 params, output_activation_min, output_activation_max, output_depth, in TryTestOneDepthwiseConv3x3Filter()
297 if (ref_res > output_activation_max) ref_res = output_activation_max; in TryTestOneDepthwiseConv3x3Filter()
Ddepthwiseconv_float_test.cc85 float output_activation_min, output_activation_max; in TryTestOneDepthwiseConv() local
92 GetActivationMinMax(ac, &output_activation_min, &output_activation_max); in TryTestOneDepthwiseConv()
140 op_params.float_activation_max = output_activation_max; in TryTestOneDepthwiseConv()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/sparse_ops/
Dfully_connected.h39 const float output_activation_max = params.float_activation_max; in FullyConnectedSparseWeight() local
71 total + bias_value, output_activation_min, output_activation_max); in FullyConnectedSparseWeight()
86 const float output_activation_max = params.float_activation_max; in FullyConnectedSparseWeight1x4Impl() local
110 total + bias_value, output_activation_min, output_activation_max); in FullyConnectedSparseWeight1x4Impl()

1234