Searched refs:quantization (Results 1 - 25 of 25) sorted by relevance

/external/tensorflow/tensorflow/contrib/quantization/python/
H A D__init__.py22 from tensorflow.contrib.quantization.python.array_ops import *
23 from tensorflow.contrib.quantization.python.math_ops import *
24 from tensorflow.contrib.quantization.python.nn_ops import *
/external/tensorflow/tensorflow/contrib/quantization/
H A D__init__.py23 from tensorflow.contrib.quantization.python import array_ops as quantized_array_ops
24 from tensorflow.contrib.quantization.python.math_ops import *
25 from tensorflow.contrib.quantization.python.nn_ops import *
/external/tensorflow/tensorflow/contrib/lite/toco/tflite/
H A Dimport.cc73 auto quantization = input_tensor->quantization(); local
74 if (quantization) {
75 // Note that tf.mini only supports a single quantization parameters for
77 if (quantization->min() && quantization->max()) {
78 CHECK_EQ(1, quantization->min()->Length());
79 CHECK_EQ(1, quantization->max()->Length());
81 minmax.min = quantization->min()->Get(0);
82 minmax.max = quantization
[all...]
/external/tensorflow/tensorflow/contrib/lite/
H A Dcontext.c68 TfLiteQuantizationParams quantization, char* buffer,
75 tensor->params = quantization;
67 TfLiteTensorReset(TfLiteType type, const char* name, TfLiteIntArray* dims, TfLiteQuantizationParams quantization, char* buffer, size_t size, TfLiteAllocationType allocation_type, const void* allocation, TfLiteTensor* tensor) argument
H A Dmodel.cc638 TfLiteQuantizationParams quantization; local
639 quantization.scale = 0;
640 quantization.zero_point = 0;
641 auto* q_params = tensor->quantization();
643 // Note that the schema could hold per-channel quantization parameters
646 // TODO(aselle): This assumes non per-channel quantization.
647 if (q_params->scale()) quantization.scale = q_params->scale()->Get(0);
649 quantization.zero_point = q_params->zero_point()->Get(0);
706 i, type, get_name(tensor), dims, quantization, buffer_ptr,
714 i, type, get_name(tensor), dims, quantization) !
[all...]
H A Dinterpreter.h138 const std::vector<int>& dims, TfLiteQuantizationParams quantization,
147 const std::vector<int>& dims, TfLiteQuantizationParams quantization);
H A Dcontext.h136 // Parameters for asymmetric quantization. Quantized values can be converted
204 TfLiteQuantizationParams quantization, char* buffer,
H A Dinterpreter.cc488 const std::vector<int>& dims, TfLiteQuantizationParams quantization,
503 quantization, const_cast<char*>(buffer), bytes,
514 const std::vector<int>& dims, TfLiteQuantizationParams quantization) {
528 quantization,
486 SetTensorParametersReadOnly( int tensor_index, TfLiteType type, const char* name, const std::vector<int>& dims, TfLiteQuantizationParams quantization, const char* buffer, size_t bytes, const Allocation* allocation) argument
512 SetTensorParametersReadWrite( int tensor_index, TfLiteType type, const char* name, const std::vector<int>& dims, TfLiteQuantizationParams quantization) argument
/external/webp/src/enc/
H A Dpredictor_enc.c148 // to a multiple of quantization, working modulo 256, taking care not to cross
151 uint8_t boundary, int quantization) {
154 const int lower = residual & ~(quantization - 1);
155 const int upper = lower + quantization;
162 // Halve quantization step to avoid crossing boundary. This midpoint is
165 return lower + (quantization >> 1);
171 // Halve quantization step to avoid crossing boundary. This midpoint is
174 return lower + (quantization >> 1);
181 // its prediction to a multiple of a quantization (a power of 2, not larger than
189 int quantization; local
150 NearLosslessComponent(uint8_t value, uint8_t predict, uint8_t boundary, int quantization) argument
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dv4l2-mediabus.h27 * @quantization: quantization of the data (from enum v4l2_quantization)
37 __u16 quantization; member in struct:v4l2_mbus_framefmt
H A Dvideodev2.h365 * The default for R'G'B' quantization is always full range, except
366 * for the BT2020 colorspace. For Y'CbCr the quantization is always
375 * Determine how QUANTIZATION_DEFAULT should map to a proper quantization.
485 __u32 quantization; /* enum v4l2_quantization */ member in struct:v4l2_pix_format
2071 * @quantization: enum v4l2_quantization, colorspace quantization
2088 __u8 quantization; member in struct:v4l2_pix_format_mplane
/external/tensorflow/tensorflow/contrib/
H A D__init__.py63 from tensorflow.contrib import quantization namespace
/external/ImageMagick/www/api/
H A Dcompare.php182 <p>The normalized mean quantization error for any single pixel in the image. This distance measure is normalized to a range between 0 and 1. It is independent of the range of red, green, and blue values in the image.</p>
185 <p>The normalized maximum quantization error for any single pixel in the image. This distance measure is normalized to a range between 0 and 1. It is independent of the range of red, green, and blue values in your image.</p>
H A Dquantize.php69 <p>The basic algorithm operates in three phases: Classification, Reduction, and Assignment. Classification builds a color description tree for the image. Reduction collapses the tree until the number it represents, at most, the number of colors desired in the output image. Assignment defines the output image's color map and sets each pixel's color by restorage_class in the reduced tree. Our goal is to minimize the numerical discrepancies between the original colors and quantized colors (quantization error).</p>
88 <p>E: the distance squared in RGB space between each pixel contained within a node and the nodes' center. This represents the quantization error for a node.</p>
97 <dd> This has the effect of minimizing any quantization error when merging two nodes together. </dd>
217 <p>GetImageQuantizeError() measures the difference between the original and quantized images. This difference is the total quantization error. The error is computed by summing over all pixels in an image the distance squared in RGB space between each reference pixel value and its quantized value. These values are computed:</p>
225 <p>This value is the normalized mean quantization error for any single pixel in the image. This distance measure is normalized to a range between 0 and 1. It is independent of the range of red, green, and blue values in the image.</p>
228 <p>Thsi value is the normalized maximum quantization error for any single pixel in the image. This distance measure is normalized to a range between 0 and 1. It is independent of the range of red, green, and blue values in your image.</p>
H A Dmagick-image.php4787 <dd>A value other than zero measures the difference between the original and quantized images. This difference is the total quantization error. The error is computed by summing over all pixels in an image the distance squared in RGB space between each reference pixel value and its quantized value. </dd>
4832 <dd>A value other than zero measures the difference between the original and quantized images. This difference is the total quantization error. The error is computed by summing over all pixels in an image the distance squared in RGB space between each reference pixel value and its quantized value. </dd>
/external/libavc/common/arm/
H A Dih264_iquant_itrans_recon_dc_a9.s78 @ * Pointer to the inverse quantization matrix
208 @ * Pointer to the inverse quantization matrix
H A Dih264_resi_trans_quant_a9.s247 @* and quantization for 4x4 chroma block.
441 @* quantization for luma dc block
589 @* quantization for dc block of chroma for both planes
H A Dih264_iquant_itrans_recon_a9.s77 @ * Pointer to the inverse quantization matrix
264 @ * Pointer to the inverse quantization matrix
455 @ * Pointer to the inverse quantization matrix
/external/python/cpython2/Objects/
H A Dobmalloc.c1805 /* # of bytes in used and full pools wasted due to quantization,
1809 size_t quantization = 0; local
1892 quantization += p * ((POOL_SIZE - POOL_OVERHEAD) % size);
1917 total += printone("# bytes lost to quantization", quantization);
/external/python/cpython3/Objects/
H A Dobmalloc.c2267 /* # of bytes in used and full pools wasted due to quantization,
2271 size_t quantization = 0; local
2355 quantization += p * ((POOL_SIZE - POOL_OVERHEAD) % size);
2380 total += printone(out, "# bytes lost to quantization", quantization);
/external/v4l2_codec2/vda/
H A Dvideodev2.h356 * The default for R'G'B' quantization is always full range, except
357 * for the BT2020 colorspace. For Y'CbCr the quantization is always
367 * Determine how QUANTIZATION_DEFAULT should map to a proper quantization.
469 __u32 quantization; /* enum v4l2_quantization */ member in struct:v4l2_pix_format
2006 * @quantization: enum v4l2_quantization, colorspace quantization
2020 __u8 quantization; member in struct:v4l2_pix_format_mplane
/external/tensorflow/tensorflow/contrib/lite/schema/
H A Dschema_generated.h1223 std::unique_ptr<QuantizationParametersT> quantization; member in struct:tflite::TensorT
1251 const QuantizationParameters *quantization() const { function in struct:tflite::FLATBUFFERS_FINAL_CLASS
1263 verifier.VerifyTable(quantization()) &&
1286 void add_quantization(flatbuffers::Offset<QuantizationParameters> quantization) { argument
1287 fbb_.AddOffset(Tensor::VT_QUANTIZATION, quantization);
1307 flatbuffers::Offset<QuantizationParameters> quantization = 0) {
1309 builder_.add_quantization(quantization);
1323 flatbuffers::Offset<QuantizationParameters> quantization = 0) {
1330 quantization);
4388 { auto _e = quantization(); i
[all...]
/external/flac/libFLAC/
H A Dstream_encoder.c3774 int quantization, ret; local
3784 ret = FLAC__lpc_quantize_coefficients(lp_coeff, order, qlp_coeff_precision, qlp_coeff, &quantization);
3790 encoder->private_->local_lpc_compute_residual_from_qlp_coefficients_16bit(signal+order, residual_samples, qlp_coeff, order, quantization, residual);
3792 encoder->private_->local_lpc_compute_residual_from_qlp_coefficients(signal+order, residual_samples, qlp_coeff, order, quantization, residual);
3794 encoder->private_->local_lpc_compute_residual_from_qlp_coefficients_64bit(signal+order, residual_samples, qlp_coeff, order, quantization, residual);
3822 subframe->data.lpc.quantization_level = quantization;
/external/tensorflow/tensorflow/tools/quantization/
H A Dquantize_graph_test.py15 """Tests the graph quantization script.
35 from tensorflow.tools.quantization import quantize_graph
107 quantization. It prints out information about the differences between tensors
/external/valgrind/include/vki/
H A Dvki-linux.h3767 __vki_u32 quantization; member in struct:vki_v4l2_pix_format
4295 __vki_u8 quantization; member in struct:vki_v4l2_pix_format_mplane
4525 __vki_u16 quantization; member in struct:vki_v4l2_mbus_framefmt

Completed in 885 milliseconds