/external/tensorflow/tensorflow/lite/kernels/ |
D | kernel_util_test.cc | 280 auto* input_params = reinterpret_cast<TfLiteAffineQuantization*>( in TEST_F() 281 malloc(sizeof(TfLiteAffineQuantization))); in TEST_F() 300 auto* filter_params = reinterpret_cast<TfLiteAffineQuantization*>( in TEST_F() 301 malloc(sizeof(TfLiteAffineQuantization))); in TEST_F() 321 auto* bias_params = reinterpret_cast<TfLiteAffineQuantization*>( in TEST_F() 322 malloc(sizeof(TfLiteAffineQuantization))); in TEST_F() 341 auto* output_params = reinterpret_cast<TfLiteAffineQuantization*>( in TEST_F() 342 malloc(sizeof(TfLiteAffineQuantization))); in TEST_F() 386 auto* input_params = reinterpret_cast<TfLiteAffineQuantization*>( in TEST_F() 387 malloc(sizeof(TfLiteAffineQuantization))); in TEST_F() [all …]
|
D | svdf.cc | 259 reinterpret_cast<TfLiteAffineQuantization*>(input->quantization.params); in Prepare() 260 auto* weights_feature_params = reinterpret_cast<TfLiteAffineQuantization*>( in Prepare() 263 reinterpret_cast<TfLiteAffineQuantization*>(state->quantization.params); in Prepare() 264 auto* weight_time_params = reinterpret_cast<TfLiteAffineQuantization*>( in Prepare() 266 auto* output_params = reinterpret_cast<TfLiteAffineQuantization*>( in Prepare() 374 auto* input_params = reinterpret_cast<TfLiteAffineQuantization*>( in Eval() 376 auto* output_params = reinterpret_cast<TfLiteAffineQuantization*>( in Eval()
|
D | test_util.h | 406 reinterpret_cast<TfLiteAffineQuantization*>(t->quantization.params); in PerChannelSymmetricQuantizeAndPopulate() 432 TfLiteAffineQuantization* params) { in PerChannelQuantizeBiasPopulateTensor() 445 const TfLiteAffineQuantization* params) { in PerChannelQuantizeBiasPopulateTensor() 461 reinterpret_cast<TfLiteAffineQuantization*>(t->quantization.params); in PerChannelQuantizeBias() 822 auto* affine_quantization = reinterpret_cast<TfLiteAffineQuantization*>( in QuantizeTensor() 823 malloc(sizeof(TfLiteAffineQuantization))); in QuantizeTensor()
|
D | conv.cc | 373 reinterpret_cast<TfLiteAffineQuantization*>(filter->quantization.params) in Prepare() 375 reinterpret_cast<TfLiteAffineQuantization*>(filter->quantization.params) in Prepare() 378 reinterpret_cast<TfLiteAffineQuantization*>( in Prepare() 427 reinterpret_cast<TfLiteAffineQuantization*>( in Prepare() 556 reinterpret_cast<TfLiteAffineQuantization*>( in Prepare() 867 reinterpret_cast<TfLiteAffineQuantization*>(filter->quantization.params); in EvalHybridPerChannel()
|
D | elementwise.cc | 103 reinterpret_cast<TfLiteAffineQuantization*>(input->quantization.params); in GenericPrepare() 104 const auto* output_params = reinterpret_cast<TfLiteAffineQuantization*>( in GenericPrepare()
|
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | depthwise_conv_test.cc | 146 TfLiteAffineQuantization filter_quant = {FloatArrayFromFloats(filter_scales), in TestDepthwiseConvQuantizedPerLayer() 153 TfLiteAffineQuantization bias_quant = {FloatArrayFromFloats(bias_scales), in TestDepthwiseConvQuantizedPerLayer() 183 TfLiteAffineQuantization filter_quant; in TestDepthwiseConvQuantizedPerChannel() 184 TfLiteAffineQuantization bias_quant; in TestDepthwiseConvQuantizedPerChannel() 201 TfLiteAffineQuantization input_quant = {FloatArrayFromFloats(input_scales), in TestDepthwiseConvQuantizedPerChannel() 208 TfLiteAffineQuantization output_quant = {FloatArrayFromFloats(output_scales), in TestDepthwiseConvQuantizedPerChannel() 714 TfLiteAffineQuantization input_quant = { in TF_LITE_MICRO_TEST() 724 TfLiteAffineQuantization filter_quant = { in TF_LITE_MICRO_TEST() 737 TfLiteAffineQuantization bias_quant = { in TF_LITE_MICRO_TEST() 747 TfLiteAffineQuantization output_quant = { in TF_LITE_MICRO_TEST() [all …]
|
D | conv_test.cc | 462 TfLiteAffineQuantization input_quant = { in TF_LITE_MICRO_TEST() 473 TfLiteAffineQuantization filter_quant = { in TF_LITE_MICRO_TEST() 487 TfLiteAffineQuantization bias_quant = { in TF_LITE_MICRO_TEST() 497 TfLiteAffineQuantization output_quant = { in TF_LITE_MICRO_TEST() 549 TfLiteAffineQuantization filter_quant; in TF_LITE_MICRO_TEST() 550 TfLiteAffineQuantization bias_quant; in TF_LITE_MICRO_TEST() 567 TfLiteAffineQuantization input_quant = { in TF_LITE_MICRO_TEST() 586 TfLiteAffineQuantization* quant = reinterpret_cast<TfLiteAffineQuantization*>( in TF_LITE_MICRO_TEST() 673 TfLiteAffineQuantization input_quant = { in TF_LITE_MICRO_TEST() 686 TfLiteAffineQuantization filter_quant = { in TF_LITE_MICRO_TEST() [all …]
|
D | conv_test_common.cc | 174 TfLiteAffineQuantization filter_quant = {FloatArrayFromFloats(filter_scales), in TestConvQuantizedPerLayer() 202 TfLiteAffineQuantization filter_quant; in TestConvQuantizedPerChannel() 203 TfLiteAffineQuantization bias_quant; in TestConvQuantizedPerChannel() 217 TfLiteAffineQuantization input_quant = {FloatArrayFromFloats(input_scales), in TestConvQuantizedPerChannel() 224 TfLiteAffineQuantization output_quant = {FloatArrayFromFloats(output_scales), in TestConvQuantizedPerChannel()
|
D | quantize.cc | 51 reinterpret_cast<TfLiteAffineQuantization*>(output->quantization.params); in Prepare()
|
D | quantize_test.cc | 65 TfLiteAffineQuantization quant; in TestQuantizeFloat() 98 TfLiteAffineQuantization quant; in TestRequantize()
|
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/ |
D | conv_2d_helpers.cc | 47 TfLiteAffineQuantization* weights_quant_params = in ProcessPerChannelQuantizedWeights() 48 reinterpret_cast<TfLiteAffineQuantization*>( in ProcessPerChannelQuantizedWeights() 91 const TfLiteAffineQuantization* input_quant_params = in ProcessPerChannelQuantizedBias() 92 static_cast<const TfLiteAffineQuantization*>( in ProcessPerChannelQuantizedBias() 160 TfLiteAffineQuantization* weights_quant_params = in InitializeWeightsNodes() 161 reinterpret_cast<TfLiteAffineQuantization*>( in InitializeWeightsNodes()
|
D | transpose_conv_2d_builder.cc | 63 TfLiteAffineQuantization* weights_quant_params = in PopulateSubGraph() 64 reinterpret_cast<TfLiteAffineQuantization*>( in PopulateSubGraph()
|
D | op_builder.h | 205 const TfLiteAffineQuantization* params = in ComputeMinAndMaxQuantValues() 206 static_cast<const TfLiteAffineQuantization*>(quant.params); in ComputeMinAndMaxQuantValues()
|
/external/tensorflow/tensorflow/lite/micro/ |
D | testing_helpers_test.cc | 57 TfLiteAffineQuantization quant; in TF_LITE_MICRO_TEST() 89 TfLiteAffineQuantization quant; in TF_LITE_MICRO_TEST() 97 static_cast<TfLiteAffineQuantization*>(result.quantization.params)->scale; in TF_LITE_MICRO_TEST()
|
D | micro_allocator.cc | 523 TfLiteAffineQuantization* quantization = in InitializeTfLiteTensorFromFlatbuffer() 525 ? reinterpret_cast<TfLiteAffineQuantization*>( in InitializeTfLiteTensorFromFlatbuffer() 526 allocator->AllocateTemp(sizeof(TfLiteAffineQuantization), in InitializeTfLiteTensorFromFlatbuffer() 527 alignof(TfLiteAffineQuantization))) in InitializeTfLiteTensorFromFlatbuffer() 528 : reinterpret_cast<TfLiteAffineQuantization*>( in InitializeTfLiteTensorFromFlatbuffer() 530 sizeof(TfLiteAffineQuantization), in InitializeTfLiteTensorFromFlatbuffer() 531 alignof(TfLiteAffineQuantization))); in InitializeTfLiteTensorFromFlatbuffer()
|
D | test_helpers.h | 212 TfLiteAffineQuantization* affine_quant, int quantized_dimension, 217 int* zero_points, TfLiteAffineQuantization* affine_quant,
|
/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/ |
D | conv_slicing_test.cc | 209 TfLiteAffineQuantization filter_quant; in TestConvQuantizedPerChannel() 210 TfLiteAffineQuantization bias_quant; in TestConvQuantizedPerChannel() 223 TfLiteAffineQuantization* to_change = in TestConvQuantizedPerChannel() 224 (TfLiteAffineQuantization*)filter_tensor.quantization.params; in TestConvQuantizedPerChannel() 242 TfLiteAffineQuantization input_quant = {FloatArrayFromFloats(input_scales), in TestConvQuantizedPerChannel() 248 TfLiteAffineQuantization output_quant = { in TestConvQuantizedPerChannel()
|
D | depthwise_conv_slicing_test.cc | 138 TfLiteAffineQuantization filter_quant; in TestDepthwiseConvQuantizedPerChannel() 139 TfLiteAffineQuantization bias_quant; in TestDepthwiseConvQuantizedPerChannel() 157 TfLiteAffineQuantization input_quant = {FloatArrayFromFloats(input_scales), in TestDepthwiseConvQuantizedPerChannel() 163 TfLiteAffineQuantization output_quant = { in TestDepthwiseConvQuantizedPerChannel()
|
D | mli_tf_utils.h | 69 reinterpret_cast<TfLiteAffineQuantization*>(tfT->quantization.params); in ConvertToMliQuantParamsPerChannel()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/ |
D | model_builder_helper.h | 82 TfLiteAffineQuantization* quant_params = in DequantizeConstantTensor() 83 static_cast<TfLiteAffineQuantization*>(tensor.quantization.params); in DequantizeConstantTensor()
|
/external/tensorflow/tensorflow/lite/c/ |
D | common_test.cc | 107 auto* params = reinterpret_cast<TfLiteAffineQuantization*>( in TEST() 108 malloc(sizeof(TfLiteAffineQuantization))); in TEST()
|
D | common.c | 93 TfLiteAffineQuantization* q_params = in TfLiteQuantizationFree() 94 (TfLiteAffineQuantization*)(quantization->params); in TfLiteQuantizationFree()
|
D | common.h | 287 typedef struct TfLiteAffineQuantization { struct 291 } TfLiteAffineQuantization; argument
|
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/tests/ |
D | batch_seq_config_test.cc | 152 reinterpret_cast<TfLiteAffineQuantization*>(tensor->quantization.params) in GetOutput() 155 reinterpret_cast<TfLiteAffineQuantization*>(tensor->quantization.params) in GetOutput()
|
/external/tensorflow/tensorflow/lite/ |
D | interpreter.cc | 64 auto* affine_quantization = reinterpret_cast<TfLiteAffineQuantization*>( in GetQuantizationFromLegacy() 65 malloc(sizeof(TfLiteAffineQuantization))); in GetQuantizationFromLegacy()
|