Home
last modified time | relevance | path

Searched refs:quantize (Results 1 – 25 of 106) sorted by relevance

12345

/external/python/cpython2/Lib/test/decimaltestdata/
DdqQuantize.decTest2 -- dqQuantize.decTest -- decQuad quantize operation --
24 -- 2004.03.15 Underflow for quantize is suppressed
26 -- [Forked from quantize.decTest 2006.11.25]
36 dqqua001 quantize 0 1e0 -> 0
37 dqqua002 quantize 1 1e0 -> 1
38 dqqua003 quantize 0.1 1e+2 -> 0E+2 Inexact Rounded
39 dqqua005 quantize 0.1 1e+1 -> 0E+1 Inexact Rounded
40 dqqua006 quantize 0.1 1e0 -> 0 Inexact Rounded
41 dqqua007 quantize 0.1 1e-1 -> 0.1
42 dqqua008 quantize 0.1 1e-2 -> 0.10
[all …]
DddQuantize.decTest2 -- ddQuantize.decTest -- decDouble quantize operation --
24 -- 2004.03.15 Underflow for quantize is suppressed
34 ddqua001 quantize 0 1e0 -> 0
35 ddqua002 quantize 1 1e0 -> 1
36 ddqua003 quantize 0.1 1e+2 -> 0E+2 Inexact Rounded
37 ddqua005 quantize 0.1 1e+1 -> 0E+1 Inexact Rounded
38 ddqua006 quantize 0.1 1e0 -> 0 Inexact Rounded
39 ddqua007 quantize 0.1 1e-1 -> 0.1
40 ddqua008 quantize 0.1 1e-2 -> 0.10
41 ddqua009 quantize 0.1 1e-3 -> 0.100
[all …]
Dquantize.decTest2 -- quantize.decTest -- decimal quantize operation --
24 -- 2004.03.15 Underflow for quantize is suppressed
34 quax001 quantize 0 1e0 -> 0
35 quax002 quantize 1 1e0 -> 1
36 quax003 quantize 0.1 1e+2 -> 0E+2 Inexact Rounded
37 quax005 quantize 0.1 1e+1 -> 0E+1 Inexact Rounded
38 quax006 quantize 0.1 1e0 -> 0 Inexact Rounded
39 quax007 quantize 0.1 1e-1 -> 0.1
40 quax008 quantize 0.1 1e-2 -> 0.10
41 quax009 quantize 0.1 1e-3 -> 0.100
[all …]
DddCanonical.decTest287 ddcan401 quantize #6e38ff3ffff3fcff 1 -> #6e38ff3fcff3fcff
288 ddcan402 quantize #6e38ff3fcff3fdff 0 -> #6e38ff3fcff3fcff
289 ddcan403 quantize #7880000000000000 Inf -> #7800000000000000
290 ddcan404 quantize #7802000000000000 -Inf -> #7800000000000000
291 ddcan410 quantize #7c03ff3fcff3fcff 1 -> #7c00ff3fcff3fcff
292 ddcan411 quantize #7c03ff3fcff3fcff 1 -> #7c00ff3fcff3fcff
293 ddcan412 quantize #7c40ff3fcff3fcff 1 -> #7c00ff3fcff3fcff
294 ddcan413 quantize #7c40ff3fcff3fcff 1 -> #7c00ff3fcff3fcff
295 ddcan414 quantize #7e00ffffcff3fcff 1 -> #7c00ff3fcff3fcff Invalid_operation
296 ddcan415 quantize #7e00ffffcff3fcff 1 -> #7c00ff3fcff3fcff Invalid_operation
[all …]
DdqCanonical.decTest310 dqcan401 quantize #ee080ff3fcff3fcff3fffffffff3fcff 0 -> #ee080ff3fcff3fcff3fcff3fcff3fcff
311 dqcan402 quantize #ee080ff3fffffffffffcff3fcff3fcff 0 -> #ee080ff3fcff3fcff3fcff3fcff3fcff
312 dqcan403 quantize #78800000000000000000000000000000 Inf -> #78000000000000000000000000000000
313 dqcan404 quantize #78020000000000000000000000000000 -Inf -> #78000000000000000000000000000000
314 dqcan410 quantize #7c080ff3fcff3fcff3fcff3fcff3fcff 1 -> #7c000ff3fcff3fcff3fcff3fcff3fcff
315 dqcan411 quantize #fc000ff3fcfffffff3fcff3fcff3fcff 1 -> #fc000ff3fcff3fcff3fcff3fcff3fcff
316 dqcan412 quantize #7e100ff3fcff3fcff3fcff3fcff3fcff 1 -> #7c000ff3fcff3fcff3fcff3fcff3fcff Inva…
317 dqcan413 quantize #fe000ff3fcff3fcff3ffffffcff3fcff 1 -> #fc000ff3fcff3fcff3fcff3fcff3fcff Inva…
/external/python/cpython3/Lib/test/decimaltestdata/
DdqQuantize.decTest2 -- dqQuantize.decTest -- decQuad quantize operation --
24 -- 2004.03.15 Underflow for quantize is suppressed
26 -- [Forked from quantize.decTest 2006.11.25]
36 dqqua001 quantize 0 1e0 -> 0
37 dqqua002 quantize 1 1e0 -> 1
38 dqqua003 quantize 0.1 1e+2 -> 0E+2 Inexact Rounded
39 dqqua005 quantize 0.1 1e+1 -> 0E+1 Inexact Rounded
40 dqqua006 quantize 0.1 1e0 -> 0 Inexact Rounded
41 dqqua007 quantize 0.1 1e-1 -> 0.1
42 dqqua008 quantize 0.1 1e-2 -> 0.10
[all …]
DddQuantize.decTest2 -- ddQuantize.decTest -- decDouble quantize operation --
24 -- 2004.03.15 Underflow for quantize is suppressed
34 ddqua001 quantize 0 1e0 -> 0
35 ddqua002 quantize 1 1e0 -> 1
36 ddqua003 quantize 0.1 1e+2 -> 0E+2 Inexact Rounded
37 ddqua005 quantize 0.1 1e+1 -> 0E+1 Inexact Rounded
38 ddqua006 quantize 0.1 1e0 -> 0 Inexact Rounded
39 ddqua007 quantize 0.1 1e-1 -> 0.1
40 ddqua008 quantize 0.1 1e-2 -> 0.10
41 ddqua009 quantize 0.1 1e-3 -> 0.100
[all …]
Dquantize.decTest2 -- quantize.decTest -- decimal quantize operation --
24 -- 2004.03.15 Underflow for quantize is suppressed
34 quax001 quantize 0 1e0 -> 0
35 quax002 quantize 1 1e0 -> 1
36 quax003 quantize 0.1 1e+2 -> 0E+2 Inexact Rounded
37 quax005 quantize 0.1 1e+1 -> 0E+1 Inexact Rounded
38 quax006 quantize 0.1 1e0 -> 0 Inexact Rounded
39 quax007 quantize 0.1 1e-1 -> 0.1
40 quax008 quantize 0.1 1e-2 -> 0.10
41 quax009 quantize 0.1 1e-3 -> 0.100
[all …]
DddCanonical.decTest287 ddcan401 quantize #6e38ff3ffff3fcff 1 -> #6e38ff3fcff3fcff
288 ddcan402 quantize #6e38ff3fcff3fdff 0 -> #6e38ff3fcff3fcff
289 ddcan403 quantize #7880000000000000 Inf -> #7800000000000000
290 ddcan404 quantize #7802000000000000 -Inf -> #7800000000000000
291 ddcan410 quantize #7c03ff3fcff3fcff 1 -> #7c00ff3fcff3fcff
292 ddcan411 quantize #7c03ff3fcff3fcff 1 -> #7c00ff3fcff3fcff
293 ddcan412 quantize #7c40ff3fcff3fcff 1 -> #7c00ff3fcff3fcff
294 ddcan413 quantize #7c40ff3fcff3fcff 1 -> #7c00ff3fcff3fcff
295 ddcan414 quantize #7e00ffffcff3fcff 1 -> #7c00ff3fcff3fcff Invalid_operation
296 ddcan415 quantize #7e00ffffcff3fcff 1 -> #7c00ff3fcff3fcff Invalid_operation
[all …]
DdqCanonical.decTest310 dqcan401 quantize #ee080ff3fcff3fcff3fffffffff3fcff 0 -> #ee080ff3fcff3fcff3fcff3fcff3fcff
311 dqcan402 quantize #ee080ff3fffffffffffcff3fcff3fcff 0 -> #ee080ff3fcff3fcff3fcff3fcff3fcff
312 dqcan403 quantize #78800000000000000000000000000000 Inf -> #78000000000000000000000000000000
313 dqcan404 quantize #78020000000000000000000000000000 -Inf -> #78000000000000000000000000000000
314 dqcan410 quantize #7c080ff3fcff3fcff3fcff3fcff3fcff 1 -> #7c000ff3fcff3fcff3fcff3fcff3fcff
315 dqcan411 quantize #fc000ff3fcfffffff3fcff3fcff3fcff 1 -> #fc000ff3fcff3fcff3fcff3fcff3fcff
316 dqcan412 quantize #7e100ff3fcff3fcff3fcff3fcff3fcff 1 -> #7c000ff3fcff3fcff3fcff3fcff3fcff Inva…
317 dqcan413 quantize #fe000ff3fcff3fcff3ffffffcff3fcff 1 -> #fc000ff3fcff3fcff3fcff3fcff3fcff Inva…
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/
Dquantization_util_test.cc26 auto quantize = [](double d) { in TEST() local
33 EXPECT_DEATH(quantize(-0.1), ""); in TEST()
34 EXPECT_DEATH(quantize(0.0), ""); in TEST()
35 EXPECT_THAT(quantize(0.25), Pair(1073741824, 1)); in TEST()
39 EXPECT_THAT(quantize(0.50 - 5e-9), Pair(2147483627, 1)); in TEST()
40 EXPECT_THAT(quantize(0.50 - 1e-10), Pair(1073741824, 0)); in TEST()
41 EXPECT_THAT(quantize(0.50), Pair(1073741824, 0)); in TEST()
43 EXPECT_THAT(quantize(0.75), Pair(1610612736, 0)); in TEST()
44 EXPECT_THAT(quantize(1 - 1e-9), Pair(2147483646, 0)); in TEST()
48 EXPECT_DEATH(quantize(1 - 1e-15), ""); in TEST()
[all …]
/external/tensorflow/tensorflow/contrib/lite/kernels/
Dkernel_util.cc53 auto quantize = [scale, zero_point](float f) { in CalculateActivationRangeUint8() local
58 *act_min = std::max(qmin, quantize(0.0)); in CalculateActivationRangeUint8()
61 *act_min = std::max(qmin, quantize(0.0)); in CalculateActivationRangeUint8()
62 *act_max = std::min(qmax, quantize(6.0)); in CalculateActivationRangeUint8()
64 *act_min = std::max(qmin, quantize(-1.0)); in CalculateActivationRangeUint8()
65 *act_max = std::min(qmax, quantize(1.0)); in CalculateActivationRangeUint8()
/external/libjpeg-turbo/
Djcdctmgr.c44 METHODDEF(void) quantize (JCOEFPTR, DCTELEM *, DCTELEM *);
52 quantize_method_ptr quantize; member
269 fdct->quantize == jsimd_quantize) in start_pass_fdctmgr()
270 fdct->quantize = quantize; in start_pass_fdctmgr()
312 fdct->quantize == jsimd_quantize) in start_pass_fdctmgr()
313 fdct->quantize = quantize; in start_pass_fdctmgr()
408 quantize (JCOEFPTR coef_block, DCTELEM *divisors, DCTELEM *workspace) in quantize() function
505 quantize_method_ptr do_quantize = fdct->quantize; in forward_DCT()
680 fdct->quantize = jsimd_quantize; in jinit_forward_dct()
682 fdct->quantize = quantize; in jinit_forward_dct()
/external/tensorflow/tensorflow/contrib/quantize/python/
Dquantize_graph.py21 from tensorflow.contrib.quantize.python import fold_batch_norms
22 from tensorflow.contrib.quantize.python import quantize
64 quantize.Quantize(
Dquantize_test.py22 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)
Dquantize_parameterized_test.py22 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)
451 quantize.Quantize(graph, True, quant_delay=delay)
539 quantize.Quantize(graph, True, quant_delay=delay)
Dquantize.py23 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
Dinput_to_ops.py22 from tensorflow.contrib.quantize.python import common
/external/sonivox/jet_tools/JetCreator/
DJetFile.py94 …def __init__ (self, segname, filename, start=None, end=None, length=None, output=None, quantize=No… argument
102 self.quantize = quantize
133 def ExtractEvents (self, start, end, length, quantize, chase_controllers): argument
148 if quantize is not None:
149 quantize = int(quantize)
151 quantize = 0
153 self.Trim(start, end, quantize, chase_controllers=chase_controllers)
331 quantize = config.get(segment_name, SEGMENT_QUANTIZE)
360 …segments.append(JetSegment(segname, filename, start, end, length, output, quantize, jetevents, dls…
439 …jet_segfile.ExtractEvents(segment.start, segment.end, segment.length, segment.quantize, self.confi…
[all …]
/external/tensorflow/tensorflow/contrib/quantize/
DBUILD164 name = "quantize",
165 srcs = ["python/quantize.py"],
185 ":quantize",
205 ":quantize",
227 ":quantize",
D__init__.py22 from tensorflow.contrib.quantize.python.quantize_graph import *
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Ddepthstencil.h101 float quantize = (float)((1 << depthBpc) - 1); in QuantizeDepth() local
102 simdscalar result = _simd_mul_ps(depth, _simd_set1_ps(quantize)); in QuantizeDepth()
108 result = _simd_div_ps(result, _simd_set1_ps(quantize)); in QuantizeDepth()
112 result = _simd_mul_ps(result, _simd_set1_ps(1.0f / quantize)); in QuantizeDepth()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_QuantizeAndDequantizeV2.pbtxt6 Tensor to quantize and then dequantize.
49 There are different ways to quantize. This version does not use the full range
76 Now we can quantize and dequantize the elements of our tensor. An element e
/external/giflib/
DAndroid.bp13 "quantize.c",
/external/ImageMagick/Magick++/demo/
Dbutton.cpp82 button.quantize(); in main()

12345