/external/tensorflow/tensorflow/contrib/lite/kernels/internal/ |
quantization_util_test.cc | 26 auto quantize = [](double d) { local 33 EXPECT_DEATH(quantize(-0.1), ""); 34 EXPECT_DEATH(quantize(0.0), ""); 35 EXPECT_THAT(quantize(0.25), Pair(1073741824, 1)); 39 EXPECT_THAT(quantize(0.50 - 5e-9), Pair(2147483627, 1)); 40 EXPECT_THAT(quantize(0.50 - 1e-10), Pair(1073741824, 0)); 41 EXPECT_THAT(quantize(0.50), Pair(1073741824, 0)); 43 EXPECT_THAT(quantize(0.75), Pair(1610612736, 0)); 44 EXPECT_THAT(quantize(1 - 1e-9), Pair(2147483646, 0)); 48 EXPECT_DEATH(quantize(1 - 1e-15), "") 54 auto quantize = [](double d) { local 77 auto quantize = [](double beta, double scale, int integer_bits) { local [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
DepthTransform.java | 42 public int quantize(float depth); method in interface:DepthTransform
|
BlurStack.java | 166 depthTransform.quantize(focusDepth3D * (1 - depthOfField))); 168 depthTransform.quantize(focusDepth3D * (1 + depthOfField)));
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
DepthTransform.java | 29 public int quantize(float depth); method in interface:DepthTransform
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
Quantizer.java | 25 void quantize(final int[] pixels, final int maxColors, final Palette.Filter[] filters); method in interface:Quantizer
|
/external/tensorflow/tensorflow/contrib/quantize/ |
__init__.py | 22 from tensorflow.contrib.quantize.python.quantize_graph import *
|
/external/tensorflow/tensorflow/contrib/quantize/python/ |
quantize_graph.py | 21 from tensorflow.contrib.quantize.python import fold_batch_norms 22 from tensorflow.contrib.quantize.python import quantize 64 quantize.Quantize(
|
input_to_ops.py | 22 from tensorflow.contrib.quantize.python import common
|
quantize_test.py | 22 from tensorflow.contrib.quantize.python import quantize 59 quantize._InsertQuantOp('test', is_training, conv.op, [relu.op], 82 quantize.Quantize(graph, is_training, weight_bits=8, activation_bits=8) 109 quantize.Quantize(graph, is_training, weight_bits=8, activation_bits=8)
|
common_test.py | 21 from tensorflow.contrib.quantize.python import common
|
quantize.py | 23 from tensorflow.contrib.quantize.python import common 24 from tensorflow.contrib.quantize.python import graph_matcher 25 from tensorflow.contrib.quantize.python import input_to_ops 26 from tensorflow.contrib.quantize.python import quant_ops 42 def Quantize(graph, 69 # Quantize the weights. 83 # Quantize the activations. 102 # Quantize the inputs and output to the bypass (if it exists). The input to 129 """Matches layers in graph to quantize.
|
quantize_parameterized_test.py | 22 from tensorflow.contrib.quantize.python import fold_batch_norms 23 from tensorflow.contrib.quantize.python import quantize 91 quantize.Quantize(graph, True, quant_delay=delay) 167 quantize.Quantize(graph, True, quant_delay=delay) 243 quantize.Quantize(graph, True, quant_delay=delay) 368 quantize.Quantize(graph, True, quant_delay=delay [all...] |
input_to_ops_test.py | 21 from tensorflow.contrib.quantize.python import input_to_ops
|
quant_ops_test.py | 15 """Tests for third_party.tensorflow.contrib.quantize.python.quant_ops.""" 21 from tensorflow.contrib.quantize.python import quant_ops
|
/external/tensorflow/tensorflow/contrib/lite/kernels/ |
kernel_util.cc | 53 auto quantize = [scale, zero_point](float f) { local 58 *act_min = std::max(qmin, quantize(0.0)); 61 *act_min = std::max(qmin, quantize(0.0)); 62 *act_max = std::min(qmax, quantize(6.0)); 64 *act_min = std::max(qmin, quantize(-1.0)); 65 *act_max = std::min(qmax, quantize(1.0));
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/image/ |
RangeInverseDepthTransform.java | 52 public int quantize(float value) { method in class:RangeInverseDepthTransform
|
RangeLinearDepthTransform.java | 53 public int quantize(float value) { method in class:RangeLinearDepthTransform
|
/external/ImageMagick/Magick++/demo/ |
button.cpp | 78 // Quantize to desired colors 82 button.quantize();
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/image/ |
RangeInverseDepthTransform.java | 38 public int quantize(float value) { method in class:RangeInverseDepthTransform
|
RangeLinearDepthTransform.java | 39 public int quantize(float value) { method in class:RangeLinearDepthTransform
|
/external/libjpeg-turbo/ |
jcdctmgr.c | 44 METHODDEF(void) quantize (JCOEFPTR, DCTELEM *, DCTELEM *); 52 quantize_method_ptr quantize; member in struct:__anon25006 269 fdct->quantize == jsimd_quantize) 270 fdct->quantize = quantize; 312 fdct->quantize == jsimd_quantize) 313 fdct->quantize = quantize; 404 * Quantize/descale the coefficients, and store into coef_blocks[]. 408 quantize (JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace function [all...] |
/external/sonivox/jet_tools/JetCreator/ |
JetFile.py | 75 SEGMENT_QUANTIZE = 'quantize'
94 def __init__ (self, segname, filename, start=None, end=None, length=None, output=None, quantize=None, jetevents=[], dlsfile=None, dump_file=None, transpose=0, repeat=0, mute_flags=0):
102 self.quantize = quantize
133 def ExtractEvents (self, start, end, length, quantize, chase_controllers):
148 if quantize is not None:
149 quantize = int(quantize)
151 quantize = 0
153 self.Trim(start, end, quantize, chase_controllers=chase_controllers) [all...] |
JetDebug.py | 67 print(segment.quantize)
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
depthstencil.h | 101 float quantize = (float)((1 << depthBpc) - 1); local 102 simdscalar result = _simd_mul_ps(depth, _simd_set1_ps(quantize)); 108 result = _simd_div_ps(result, _simd_set1_ps(quantize)); 112 result = _simd_mul_ps(result, _simd_set1_ps(1.0f / quantize));
|
/external/tensorflow/tensorflow/python/ops/ |
quantized_ops_test.py | 43 op = array_ops.quantize(x, x_min, x_max, dtypes.quint8, mode="MIN_FIRST")
|