Home
last modified time | relevance | path

Searched refs:Quantize (Results 1 – 25 of 89) sorted by relevance

1234

/external/gemmlowp/meta/
Dtransform_kernels.h23 struct Quantize { struct
71 class Transform1DKernel<InType, OutType, Quantize, kernel_size, leftovers> {
73 static void Transform(const InType* in, const Quantize& params, in Transform()
164 class Transform1DUtil<InType, OutType, Quantize> {
166 static int EstimateComputeCost(const Quantize& params) { in EstimateComputeCost()
170 static const InType* OffsetInput(const Quantize& params, const InType* input, in OffsetInput()
175 static OutType* OffsetOutput(const Quantize& params, OutType* output, in OffsetOutput()
Dtransform_kernels_arm_32.h1741 inline void Transform1DKernel<float, uint8_t, Quantize, 16, 0>::Transform( in Transform()
1742 const float* input, const Quantize& params, uint8_t* output) { in Transform()
1802 inline void Transform1DKernel<float, uint8_t, Quantize, 16, 1>::Transform( in Transform()
1803 const float* input, const Quantize& params, uint8_t* output) { in Transform()
1883 inline void Transform1DKernel<float, uint8_t, Quantize, 16, 2>::Transform( in Transform()
1884 const float* input, const Quantize& params, uint8_t* output) { in Transform()
1964 inline void Transform1DKernel<float, uint8_t, Quantize, 16, 3>::Transform( in Transform()
1965 const float* input, const Quantize& params, uint8_t* output) { in Transform()
2047 inline void Transform1DKernel<float, uint8_t, Quantize, 16, 4>::Transform( in Transform()
2048 const float* input, const Quantize& params, uint8_t* output) { in Transform()
[all …]
Dtransform_kernels_arm_64.h1709 inline void Transform1DKernel<float, uint8_t, Quantize, 16, 0>::Transform( in Transform()
1710 const float* input, const Quantize& params, uint8_t* output) { in Transform()
1768 inline void Transform1DKernel<float, uint8_t, Quantize, 16, 1>::Transform( in Transform()
1769 const float* input, const Quantize& params, uint8_t* output) { in Transform()
1847 inline void Transform1DKernel<float, uint8_t, Quantize, 16, 2>::Transform( in Transform()
1848 const float* input, const Quantize& params, uint8_t* output) { in Transform()
1926 inline void Transform1DKernel<float, uint8_t, Quantize, 16, 3>::Transform( in Transform()
1927 const float* input, const Quantize& params, uint8_t* output) { in Transform()
2007 inline void Transform1DKernel<float, uint8_t, Quantize, 16, 4>::Transform( in Transform()
2008 const float* input, const Quantize& params, uint8_t* output) { in Transform()
[all …]
Dtest_transform_benchmark.cc137 typedef Transform1DParams<float, std::uint8_t, Quantize> QuantizeParams; in main()
/external/tensorflow/tensorflow/lite/kernels/
Dtest_util_test.cc31 auto q_data = Quantize<uint8_t>(data, /*scale=*/1.0, /*zero_point=*/0); in TEST()
38 auto q_data = Quantize<uint8_t>(data, /*scale=*/10.0, /*zero_point=*/0); in TEST()
45 auto q_data = Quantize<uint8_t>(data, /*scale=*/0.1, /*zero_point=*/0); in TEST()
/external/tensorflow/tensorflow/lite/tools/optimize/g3doc/
Dquantize_weights.md1 # TFLite Quantize Weights Tool
5 The Quantize Weights transformation is integrated with
21 The Quantize Weights tool provides a simple way to quantize the weights for a
58 One can also invoke the Quantize Weights directly via C++ if they have a float
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dquantize_patterns.td22 // Quantize attribute $0 by using quantization parameter from %1.
23 def QuantizeByQuantizedType : NativeCodeCall<"quant::Quantize($0, $1.getValue())">;
38 // Quantize the value of a constant op if the quantization parameters have been
Dpost_quantize_patterns.td22 // Both Quantize and Dequantize ops have side effects, so we have to define
/external/tensorflow/tensorflow/lite/micro/
Dmicro_utils_test.cc92 tflite::Quantize(values, quantized, length, 0.5, 1); in TF_LITE_MICRO_TEST()
103 tflite::Quantize(values, quantized, length, 0.5, 127); in TF_LITE_MICRO_TEST()
Dmicro_utils.h66 void Quantize(const float* input, T* output, int num_elements, float scale, in Quantize() function
/external/tensorflow/tensorflow/lite/micro/kernels/
Dactivations_test.cc126 Quantize(golden, golden_quantized, output_elements_count, output_scale, in TestReluUint8()
167 Quantize(golden, golden_quantized, output_elements_count, output_scale, in TestRelu6Uint8()
207 Quantize(golden, golden_quantized, output_elements_count, output_scale, in TestReluInt8()
247 Quantize(golden, golden_quantized, output_elements_count, output_scale, in TestRelu6Int8()
Dconv_test_common.cc157 tflite::Quantize(expected_output_data, expected_output_quantized, in TestConvQuantizedPerLayer()
239 tflite::Quantize(expected_output_data, expected_output_data_quantized, in TestConvQuantizedPerChannel()
Dpad_test.cc169 tflite::Quantize(golden, golden_quantized, output_dims_count, output_scale, in TestPadQuantized()
212 tflite::Quantize(golden, golden_quantized, output_dims_count, output_scale, in TestPadV2Quantized()
Ddepthwise_conv_test.cc157 Quantize(golden, golden_quantized, output_dims_count, output_scale, in TestDepthwiseConvQuantizedPerLayer()
223 Quantize(expected_output_data, expected_output_data_quantized, in TestDepthwiseConvQuantizedPerChannel()
762 tflite::Quantize(golden, golden_quantized, output_dims_count, output_scale, in TF_LITE_MICRO_TEST()
1002 tflite::Quantize(golden, golden_quantized, output_elements, output_scale, 0); in TF_LITE_MICRO_TEST()
Dtanh_test.cc115 tflite::Quantize(expected_output_data, expected_output_quantized, in TestTanhQuantized()
Dprelu_test.cc96 Quantize(golden, golden_quantized, output_dims_count, output_scale, in TestPreluQuantized()
Dlogistic_test.cc111 tflite::Quantize(golden, golden_quantized, output_elements_count, in TestLogisticQuantized()
/external/tensorflow/tensorflow/core/api_def/java_api/
Dapi_def_QuantizeV2.pbtxt4 name: "quantization.Quantize"
/external/gemmlowp/doc/
Dquantization_example.cc133 void Quantize(const QuantizationParams& qparams, const std::vector<float>& src, in Quantize() function
326 Quantize(lhs_qparams, float_lhs.Storage(), &uint8_lhs.Storage()); in main()
327 Quantize(rhs_qparams, float_rhs.Storage(), &uint8_rhs.Storage()); in main()
/external/tensorflow/tensorflow/core/kernels/
Dmeta_support.h90 void Quantize(OpKernelContext*, const float* input, int count, float range_min,
Dmeta_support.cc316 void Quantize(OpKernelContext* tf_context, const float* input, int count, in Quantize() function
321 gemmlowp::meta::Quantize> in Quantize()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dfake_quantize_ops.cc69 xla::XlaOp Quantize(xla::XlaBuilder* b, const xla::XlaOp& input, in Quantize() function
156 xla::XlaOp output = Quantize(b, input, data_type, nudged_input_min, in Compile()
259 xla::XlaOp output = Quantize(b, input, data_type, nudged_input_min, in Compile()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/tests/
Dunpack_quantize_test.cc107 graph_transformation_set.Add(new toco::Quantize); in TEST_F()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/
Dtranspose_conv.h104 optimized_ops::Quantize(output_multiplier, output_shift, output_depth, in TransposeConvV2()
/external/ImageMagick/www/source/
Dexamples.pl263 $example->Quantize(colorspace=>'gray',colors=>2,dither=>'false');
313 $example->Quantize();

1234