/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | legacy_reference_ops.h | 49 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 …]
|
D | fully_connected.h | 33 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 …]
|
D | mul.h | 50 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()
|
D | div.h | 140 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()
|
D | conv.h | 38 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()
|
D | depthwiseconv_uint8.h | 106 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/ |
D | legacy_optimized_ops.h | 145 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/ |
D | fully_connected.h | 35 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()
|
D | depthwise_conv.h | 41 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()
|
D | conv.h | 43 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()
|
D | transpose_conv.h | 57 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/ |
D | div.cc | 53 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()
|
D | mul.cc | 55 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()
|
D | add.cc | 60 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()
|
D | depthwise_conv.cc | 70 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/ |
D | mul.cc | 38 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()
|
D | add.cc | 46 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/ |
D | div.cc | 53 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()
|
D | sub.cc | 46 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()
|
D | depthwise_conv.cc | 60 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/ |
D | depthwise_conv.cc | 54 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/ |
D | conv_per_channel_quantized_16x8_test.cc | 116 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()
|
D | depthwiseconv_per_channel_quantized_16x8_test.cc | 115 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()
|
D | depthwiseconv_float_test.cc | 85 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/ |
D | fully_connected.h | 39 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()
|