Home
last modified time | relevance | path

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

12

/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/contrib/quantize/python/
Dquantize_test.py86 quantize.Quantize(graph, is_training, weight_bits=8, activation_bits=8)
126 quantize.Quantize(graph, is_training, weight_bits=8, activation_bits=8)
168 quantize.Quantize(graph, is_training, weight_bits=8, activation_bits=8)
218 quantize.Quantize(graph, is_training, weight_bits=8, activation_bits=8)
244 quantize.Quantize(graph, is_training, weight_bits=8, activation_bits=8)
276 quantize.Quantize(graph, is_training, weight_bits=8, activation_bits=8)
318 quantize.Quantize(graph, is_training, weight_bits=8, activation_bits=8)
363 quantize.Quantize(graph, is_training, weight_bits=8, activation_bits=8)
386 quantize.Quantize(graph, is_training, weight_bits=8, activation_bits=8)
408 quantize.Quantize(
[all …]
Dquantize_parameterized_test.py205 quantize.Quantize(graph, True, quant_delay=delay)
254 quantize.Quantize(graph, True, quant_delay=delay)
305 quantize.Quantize(graph, True, quant_delay=delay)
356 quantize.Quantize(graph, True, quant_delay=delay)
537 quantize.Quantize(graph, True, quant_delay=delay)
592 quantize.Quantize(graph, True, quant_delay=delay)
650 quantize.Quantize(graph, True, quant_delay=delay)
709 quantize.Quantize(graph, True, quant_delay=delay)
721 quantize.Quantize(graph, True)
776 quantize.Quantize(graph, is_training=True)
Dquantize_graph.py74 quantize.Quantize(
/external/tensorflow/tensorflow/lite/kernels/
Dtest_util_test.cc25 auto q_data = Quantize<uint8_t>(data, /*scale=*/1.0, /*zero_point=*/0); in TEST()
32 auto q_data = Quantize<uint8_t>(data, /*scale=*/10.0, /*zero_point=*/0); in TEST()
39 auto q_data = Quantize<uint8_t>(data, /*scale=*/0.1, /*zero_point=*/0); in TEST()
Dtest_util.h46 inline std::vector<T> Quantize(const std::vector<float>& data, float scale, in Quantize() function
182 auto q = Quantize<T>(data, t->params.scale, t->params.zero_point); in QuantizeAndPopulate()
/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/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/compiler/tf2xla/kernels/
Dfake_quantize_ops.cc69 xla::XlaOp Quantize(xla::XlaBuilder* b, const xla::XlaOp& input, in Quantize() function
118 xla::XlaOp output = Quantize(b, input, data_type, nudged_input_min, in Compile()
210 xla::XlaOp output = Quantize(b, input, data_type, nudged_input_min, in Compile()
/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()
Dquantize_op.cc175 meta::Quantize(ctx, input_array.data(), input_array.size(), min_range, in Compute()
/external/ImageMagick/www/source/
Dexamples.pl263 $example->Quantize(colorspace=>'gray',colors=>2,dither=>'false');
313 $example->Quantize();
/external/ImageMagick/PerlMagick/demo/
Ddemo.pl302 $example->Quantize(colorspace=>'gray',colors=>2,dither=>'false');
358 $example->Quantize();
/external/libjpeg-turbo/simd/x86_64/
Djquantf-sse2.asm99 ; Quantize/descale the coefficients, and store into coef_block
Djquanti-avx2.asm94 ; Quantize/descale the coefficients, and store into coef_block
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dgraph_transformations.h157 DECLARE_GRAPH_TRANSFORMATION(Quantize) in DECLARE_GRAPH_TRANSFORMATION()
/external/libjpeg-turbo/simd/i386/
Djquantf-sse2.asm105 ; Quantize/descale the coefficients, and store into coef_block
Djquant-sse.asm128 ; Quantize/descale the coefficients, and store into coef_block
/external/gemmlowp/meta/generators/
Dtransform_kernels_common.py367 class Quantize(BaseTransform): class
569 quantize = Quantize(cc_emitter, asm_emitter)
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_QuantizeV2.pbtxt33 summary: "Quantize the \'input\' tensor of type float to \'output\' tensor of type \'T\'."

12