Home
last modified time | relevance | path

Searched refs:TfLiteAffineQuantization (Results 1 – 25 of 53) sorted by relevance

123

/external/tensorflow/tensorflow/lite/kernels/
Dkernel_util_test.cc280 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 …]
Dsvdf.cc259 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()
Dtest_util.h406 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()
Dconv.cc373 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()
Delementwise.cc103 reinterpret_cast<TfLiteAffineQuantization*>(input->quantization.params); in GenericPrepare()
104 const auto* output_params = reinterpret_cast<TfLiteAffineQuantization*>( in GenericPrepare()
/external/tensorflow/tensorflow/lite/micro/kernels/
Ddepthwise_conv_test.cc146 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 …]
Dconv_test.cc462 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 …]
Dconv_test_common.cc174 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()
Dquantize.cc51 reinterpret_cast<TfLiteAffineQuantization*>(output->quantization.params); in Prepare()
Dquantize_test.cc65 TfLiteAffineQuantization quant; in TestQuantizeFloat()
98 TfLiteAffineQuantization quant; in TestRequantize()
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/
Dconv_2d_helpers.cc47 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()
Dtranspose_conv_2d_builder.cc63 TfLiteAffineQuantization* weights_quant_params = in PopulateSubGraph()
64 reinterpret_cast<TfLiteAffineQuantization*>( in PopulateSubGraph()
Dop_builder.h205 const TfLiteAffineQuantization* params = in ComputeMinAndMaxQuantValues()
206 static_cast<const TfLiteAffineQuantization*>(quant.params); in ComputeMinAndMaxQuantValues()
/external/tensorflow/tensorflow/lite/micro/
Dtesting_helpers_test.cc57 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()
Dmicro_allocator.cc523 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()
Dtest_helpers.h212 TfLiteAffineQuantization* affine_quant, int quantized_dimension,
217 int* zero_points, TfLiteAffineQuantization* affine_quant,
/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/
Dconv_slicing_test.cc209 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()
Ddepthwise_conv_slicing_test.cc138 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()
Dmli_tf_utils.h69 reinterpret_cast<TfLiteAffineQuantization*>(tfT->quantization.params); in ConvertToMliQuantParamsPerChannel()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dmodel_builder_helper.h82 TfLiteAffineQuantization* quant_params = in DequantizeConstantTensor()
83 static_cast<TfLiteAffineQuantization*>(tensor.quantization.params); in DequantizeConstantTensor()
/external/tensorflow/tensorflow/lite/c/
Dcommon_test.cc107 auto* params = reinterpret_cast<TfLiteAffineQuantization*>( in TEST()
108 malloc(sizeof(TfLiteAffineQuantization))); in TEST()
Dcommon.c93 TfLiteAffineQuantization* q_params = in TfLiteQuantizationFree()
94 (TfLiteAffineQuantization*)(quantization->params); in TfLiteQuantizationFree()
Dcommon.h287 typedef struct TfLiteAffineQuantization { struct
291 } TfLiteAffineQuantization; argument
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/tests/
Dbatch_seq_config_test.cc152 reinterpret_cast<TfLiteAffineQuantization*>(tensor->quantization.params) in GetOutput()
155 reinterpret_cast<TfLiteAffineQuantization*>(tensor->quantization.params) in GetOutput()
/external/tensorflow/tensorflow/lite/
Dinterpreter.cc64 auto* affine_quantization = reinterpret_cast<TfLiteAffineQuantization*>( in GetQuantizationFromLegacy()
65 malloc(sizeof(TfLiteAffineQuantization))); in GetQuantizationFromLegacy()

123