Home
last modified time | relevance | path

Searched full:threshold (Results 1 – 25 of 2302) sorted by relevance

12345678910>>...93

/external/ImageMagick/www/source/
Dthresholds.xml3 <!ELEMENT thresholds (threshold)+>
5 <!ELEMENT threshold (description,levels)>
6 <!ATTLIST threshold xmlns CDATA #FIXED '' alias NMTOKEN #IMPLIED
15 Threshold Maps for Ordered Posterized Dither
17 Each "<threshold>" element defines the map name, description, and an array
18 of "levels" used to provide the threshold map for ordered dithering and
21 The "alias" attribute provides a backward compatible name for this threshold
24 The description is a english description of what the threshold map achieves
27 The map itself is a rectangular array of integers or threshold "levels"
32 Each of the "levels" integer values (each value representing the threshold
[all …]
/external/ImageMagick/config/
Dthresholds.xml3 <!ELEMENT thresholds (threshold)+>
5 <!ELEMENT threshold (description,levels)>
6 <!ATTLIST threshold xmlns CDATA #FIXED '' alias NMTOKEN #IMPLIED
15 Threshold Maps for Ordered Posterized Dither
17 Each "<threshold>" element defines the map name, description, and an array
18 of "levels" used to provide the threshold map for ordered dithering and
21 The "alias" attribute provides a backward compatible name for this threshold
24 The description is a english description of what the threshold map achieves
27 The map itself is a rectangular array of integers or threshold "levels"
32 Each of the "levels" integer values (each value representing the threshold
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SLPVectorizer/X86/
Dhorizontal-list.ll3 …triple=x86_64-unknown-linux-gnu -mcpu=bdver2 -slp-threshold=-10 | FileCheck %s --check-prefix=THRE…
38 ; THRESHOLD-LABEL: @baz(
39 ; THRESHOLD-NEXT: entry:
40 ; THRESHOLD-NEXT: [[TMP0:%.*]] = load i32, i32* @n, align 4
41 ; THRESHOLD-NEXT: [[MUL:%.*]] = mul nsw i32 [[TMP0]], 3
42 ; THRESHOLD-NEXT: [[CONV:%.*]] = sitofp i32 [[MUL]] to float
43 ; THRESHOLD-NEXT: [[TMP1:%.*]] = load <2 x float>, <2 x float>* bitcast ([20 x float]* @arr to <…
44 ; THRESHOLD-NEXT: [[TMP2:%.*]] = load <2 x float>, <2 x float>* bitcast ([20 x float]* @arr1 to …
45 ; THRESHOLD-NEXT: [[TMP3:%.*]] = fmul fast <2 x float> [[TMP2]], [[TMP1]]
46 ; THRESHOLD-NEXT: [[TMP4:%.*]] = extractelement <2 x float> [[TMP3]], i32 0
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DInlineCost.h61 /// Objects of this type also provide the adjusted threshold for inlining
64 /// threshold for this cost metric.
74 /// The adjusted threshold against which this cost was computed.
75 const int Threshold; variable
78 InlineCost(int Cost, int Threshold) : Cost(Cost), Threshold(Threshold) {} in InlineCost() argument
81 static InlineCost get(int Cost, int Threshold) { in get() argument
84 return InlineCost(Cost, Threshold); in get()
95 return Cost < Threshold;
109 /// Get the threshold against which the cost was computed
112 return Threshold; in getThreshold()
[all …]
/external/grpc-grpc/test/core/client_channel/
Dretry_throttle_test.cc30 // Max token count is 4, so threshold for retrying is 2. in TEST()
35 // Failure: token_count=3. Above threshold. in TEST()
39 // Failure: token_count=3. Above threshold. in TEST()
41 // Failure: token_count=2. At threshold, so no retries. in TEST()
43 // Failure: token_count=1. Below threshold, so no retries. in TEST()
45 // Failure: token_count=0. Below threshold, so no retries. in TEST()
47 // Failure: token_count=0. Below threshold, so no retries. Not in TEST()
54 // Failure: token_count=2.2. Above threshold. in TEST()
56 // Failure: token_count=1.2. Below threshold, so no retries. in TEST()
60 // Failure: token_count=1.8. Below threshold, so no retries. in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopUnroll/
Dfull-unroll-heuristics.ll3 ; 1) -unroll-threshold
4 ; 3) -unroll-percent-dynamic-cost-saved-threshold and
8 ; * If size of unrolled loop exceeds the absoulte threshold, we don't unroll
10 ; * If size of unrolled loop is below the '-unroll-threshold', then we'll
20 …ll -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-max-percent-threshold-…
21 …ll -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-…
22 …ll -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-…
24 …)' -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-max-percent-threshold-…
25 …)' -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-…
26 …)' -unroll-max-iteration-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-…
[all …]
Dpartial-unroll-const-bounds.ll1 …artial-threshold=20 -unroll-threshold=20 -loop-unroll -unroll-allow-partial -unroll-runtime -unrol…
2 …nroll-partial-threshold=20 -unroll-threshold=20 -unroll-allow-partial -unroll-runtime -unroll-allo…
5 …nroll-partial-threshold=20 -unroll-threshold=20 -unroll-allow-partial -unroll-runtime -unroll-allo…
7 ; The Loop TripCount is 9. However unroll factors 3 or 9 exceed given threshold.
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/Inline/ARM/
Dinline-fp.ll7 ; NOFP-DAG: single not inlined into test_single because too costly to inline (cost=125, threshold=7…
8 ; NOFP-DAG: single not inlined into test_single because too costly to inline (cost=125, threshold=7…
9 ; NOFP-DAG: single_cheap inlined into test_single_cheap with cost=-15 (threshold=75)
10 ; NOFP-DAG: single_cheap inlined into test_single_cheap with cost=-15015 (threshold=75)
11 ; NOFP-DAG: double not inlined into test_double because too costly to inline (cost=125, threshold=7…
12 ; NOFP-DAG: double not inlined into test_double because too costly to inline (cost=125, threshold=7…
13 …_soft not inlined into test_single_force_soft because too costly to inline (cost=125, threshold=75)
14 …_soft not inlined into test_single_force_soft because too costly to inline (cost=125, threshold=75)
16 ; FULLFP-DAG: single inlined into test_single with cost=0 (threshold=75)
17 ; FULLFP-DAG: single inlined into test_single with cost=-15000 (threshold=75)
[all …]
/external/ImageMagick/MagickCore/
Dthreshold.c13 % MagickCore Image Threshold Methods %
87 #include "MagickCore/threshold.h"
123 " <threshold map=\"threshold\" alias=\"1x1\">"
124 " <description>Threshold 1x1 (non-dither)</description>"
128 " </threshold>"
129 " <threshold map=\"checks\" alias=\"2x1\">"
135 " </threshold>"
155 % AdaptiveThresholdImage() selects an individual threshold for each pixel
204 Initialize threshold image attributes. in AdaptiveThresholdImage()
222 Threshold image. in AdaptiveThresholdImage()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Droll_op.cc35 // to the other. Used to make the shifts wrap around after a threshold.
36 // threshold - the index for each dimension that the roll starts to wrap
41 const T* input, T* output, const gtl::ArraySlice<int>& threshold, in DoRoll() argument
43 auto work = [input, output, num_dims, &dim_size, &threshold, &dim_range]( in DoRoll()
54 const int shift = dim_size[i] - threshold[i]; in DoRoll()
70 if (indx == threshold[j]) { // we've reached the threshold in DoRoll()
71 // dim_range[j] = threshold[j] + shift[j] in DoRoll()
73 // offset - dim_range[j] = -threshold[j] + ... other offsets in DoRoll()
75 // -threshold[j] in one operation in DoRoll()
79 } else if (threshold[j] != 0) { // if threshold is 0 shift is 0 in DoRoll()
[all …]
/external/iproute2/man/man8/
Ddevlink-sb.863 .BI th " THRESHOLD "
87 .BI th " THRESHOLD "
143 pool threshold type.
146 - Threshold values for the pool will be passed in Bytes.
149 - Threshold values ("to_alpha") for the pool will be used to compute alpha parameter according to f…
163 .SS devlink sb port pool show - display port-pool combinations and threshold for each
171 .SS devlink sb port pool set - set port-pool threshold
180 .BI th " THRESHOLD"
181 threshold value. Type of the value is either Bytes or "to_alpha", depends on
185 .SS devlink sb tc bind show - display port-TC to pool bindings and threshold for each
[all …]
/external/llvm/include/llvm/Analysis/
DInlineCost.h48 /// Objects of this type also provide the adjusted threshold for inlining
51 /// threshold for this cost metric.
61 /// \brief The adjusted threshold against which this cost was computed.
62 const int Threshold; variable
65 InlineCost(int Cost, int Threshold) : Cost(Cost), Threshold(Threshold) {} in InlineCost() argument
68 static InlineCost get(int Cost, int Threshold) { in get() argument
71 return InlineCost(Cost, Threshold); in get()
82 return Cost < Threshold;
96 /// \brief Get the cost delta from the threshold for inlining.
99 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/Inline/
Doptimization-remarks-yaml.ll2 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 15 \
8 ; Verify that remarks that don't meet the hotness threshold are not output.
10 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 100 \
11 ; RUN: -pass-remarks-output=%t.threshold 2>&1 | \
12 ; RUN: FileCheck -check-prefix=THRESHOLD %s
13 ; RUN: test ! -s %t.threshold
15 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 100 \
16 ; RUN: -pass-remarks-output=%t.threshold
18 ; RUN: test ! -s %t.threshold
22 ; RUN: -pass-remarks-with-hotness -pass-remarks-hotness-threshold 15 \
[all …]
/external/skia/src/gpu/gradients/
DGrDualIntervalGradientColorizer.fp8 // Models two intervals (so 4 colors), that are connected at a specific threshold point.
10 // Bias and scale for 0 to threshold
14 // Bias and scale for threshold to 1
18 layout(tracked) in uniform half threshold;
24 if (t < threshold) {
40 float threshold);
45 …olor4f& c0, const SkPMColor4f& c1, const SkPMColor4f& c2, const SkPMColor4f& c3, float threshold) {
46 // Derive scale and biases from the 4 colors and threshold
49 auto scale01 = (vc1 - vc0) / threshold;
54 auto scale23 = (vc3 - vc2) / (1 - threshold);
[all …]
/external/skqp/src/gpu/gradients/
DGrDualIntervalGradientColorizer.fp8 // Models two intervals (so 4 colors), that are connected at a specific threshold point.
10 // Bias and scale for 0 to threshold
14 // Bias and scale for threshold to 1
18 layout(tracked) in uniform half threshold;
24 if (t < threshold) {
40 float threshold);
45 …olor4f& c0, const SkPMColor4f& c1, const SkPMColor4f& c2, const SkPMColor4f& c3, float threshold) {
46 // Derive scale and biases from the 4 colors and threshold
49 auto scale01 = (vc1 - vc0) / threshold;
54 auto scale23 = (vc3 - vc2) / (1 - threshold);
[all …]
/external/llvm/test/Transforms/LoopUnroll/
Dfull-unroll-heuristics.ll3 ; 1) -unroll-threshold
4 ; 3) -unroll-percent-dynamic-cost-saved-threshold and
8 ; * If size of unrolled loop exceeds the absoulte threshold, we don't unroll
10 ; * If size of unrolled loop is below the '-unroll-threshold', then we'll
20 …ll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-percent-dynamic-cost-saved-th…
21 …ll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-percent-dynamic-cost-saved-th…
22 …ll-max-iteration-count-to-analyze=1000 -unroll-threshold=10 -unroll-percent-dynamic-cost-saved-th…
23 …ll-max-iteration-count-to-analyze=1000 -unroll-threshold=100 -unroll-percent-dynamic-cost-saved-th…
25 ; If the absolute threshold is too low, or if we can't optimize away requested
33 ; Also, we should unroll if the 'unroll-threshold' is big enough:
/external/libxcam/cl_kernel/
Dkernel_3d_denoise.cl5 * threshold: Noise variances of observed image
51 float threshold,
107 gain = (grad.s0 < threshold) ? gain : 2.0f * gain;
112 gain = (grad.s4 < threshold) ? gain : 2.0f * gain;
125 float threshold,
173 average_slice(ref[0], *observe, restore, sum_weight, gain, threshold, sg_id, sg_lid);
179 average_slice(ref[1], *observe, restore, sum_weight, gain, threshold, sg_id, sg_lid);
182 …average_slice((float8)(ref[0].hi, ref[1].lo), *observe, restore, sum_weight, gain, threshold, sg_i…
188 average_slice(ref[0], *observe, restore, sum_weight, gain, threshold, sg_id, sg_lid);
194 average_slice(ref[1], *observe, restore, sum_weight, gain, threshold, sg_id, sg_lid);
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopUnrollPass.cpp31 UnrollThreshold("unroll-threshold", cl::init(150), cl::Hidden,
41 "-unroll-threshold loop size is reached."));
62 /// A magic value for use with the Threshold parameter to indicate
67 // Threshold to use when optsize is specified (and there is no
68 // explicit -unroll-threshold).
106 Pass *llvm::createLoopUnrollPass(int Threshold, int Count, int AllowPartial) { in INITIALIZE_PASS_DEPENDENCY()
107 return new LoopUnroll(Threshold, Count, AllowPartial); in INITIALIZE_PASS_DEPENDENCY()
138 // Determine the current unrolling threshold. While this is normally set in runOnLoop()
140 // function is marked as optimize-for-size, and the unroll threshold was in runOnLoop()
142 unsigned Threshold = CurrentThreshold; in runOnLoop() local
[all …]
/external/llvm/tools/llvm-cov/
DCoverageFilters.h54 /// \brief Matches numbers that pass a certain threshold.
61 T Threshold; variable
63 StatisticThresholdFilter(Operation Op, T Threshold) in StatisticThresholdFilter() argument
64 : Op(Op), Threshold(Threshold) {} in StatisticThresholdFilter()
67 /// or greater than the certain threshold.
71 return Value < Threshold; in PassesThreshold()
73 return Value > Threshold; in PassesThreshold()
84 RegionCoverageFilter(Operation Op, double Threshold) in RegionCoverageFilter() argument
85 : StatisticThresholdFilter(Op, Threshold) {} in RegionCoverageFilter()
95 LineCoverageFilter(Operation Op, double Threshold) in LineCoverageFilter() argument
[all …]
/external/tensorflow/tensorflow/contrib/model_pruning/python/
Dpruning.py99 threshold = pruning_utils.weight_threshold_variable(x, scope)
108 ops.add_to_collection(_THRESHOLD_COLLECTION, threshold)
373 def _update_mask(self, weights, threshold): argument
377 the threshold value such that 'desired_sparsity' fraction of weights
378 have magnitude less than the threshold.
382 threshold: The current threshold value. The function will compute a new
383 threshold and return the exponential moving average using the current
384 value of threshold
387 new_threshold: The new value of the threshold based on weights, and
391 the threshold
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/
DSimpleScalarValueChecker.java29 * threshold or if either the absolute difference between the objective
30 * function values is smaller than another threshold.
37 /** Default relative threshold. */
40 /** Default absolute threshold. */
43 /** Relative tolerance threshold. */
46 /** Absolute tolerance threshold. */
49 /** Build an instance with default threshold.
56 /** Build an instance with a specified threshold.
62 * @param relativeThreshold relative tolerance threshold
63 * @param absoluteThreshold absolute tolerance threshold
DSimpleRealPointChecker.java28 * difference between each point coordinate are smaller than a threshold
30 * smaller than another threshold.
37 /** Default relative threshold. */
40 /** Default absolute threshold. */
43 /** Relative tolerance threshold. */
46 /** Absolute tolerance threshold. */
49 /** Build an instance with default threshold.
56 /** Build an instance with a specified threshold.
62 * @param relativeThreshold relative tolerance threshold
63 * @param absoluteThreshold absolute tolerance threshold
DSimpleVectorialPointChecker.java28 * difference between each point coordinate are smaller than a threshold
30 * smaller than another threshold.
37 /** Default relative threshold. */
40 /** Default absolute threshold. */
43 /** Relative tolerance threshold. */
46 /** Absolute tolerance threshold. */
49 /** Build an instance with default threshold.
56 /** Build an instance with a specified threshold.
62 * @param relativeThreshold relative tolerance threshold
63 * @param absoluteThreshold absolute tolerance threshold
/external/deqp/framework/common/
DtcuImageCompare.cpp91 …erAccess& reference, const ConstPixelBufferAccess& result, const UVec4& threshold, const tcu::IVec… in findNumPositionDeviationFailingPixels() argument
125 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels()
144 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels()
167 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels()
201 * metric is usually <0.01. Thus good threshold values are in range 0.02 to
213 * \param threshold Error metric threshold (good values are 0.02-0.05)
217 …xelBufferAccess& reference, const ConstPixelBufferAccess& result, float threshold, CompareLogMode … in fuzzyCompare() argument
222 bool isOk = difference <= threshold; in fuzzyCompare()
236 …< "Image comparison failed: difference = " << difference << ", threshold = " << threshold << TestL… in fuzzyCompare()
270 * metric is usually <0.01. Thus good threshold values are in range 0.02 to
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/
DCoverageFilters.h79 /// Matches numbers that pass a certain threshold.
86 T Threshold; variable
88 StatisticThresholdFilter(Operation Op, T Threshold) in StatisticThresholdFilter() argument
89 : Op(Op), Threshold(Threshold) {} in StatisticThresholdFilter()
92 /// or greater than the certain threshold.
96 return Value < Threshold; in PassesThreshold()
98 return Value > Threshold; in PassesThreshold()
109 RegionCoverageFilter(Operation Op, double Threshold) in RegionCoverageFilter() argument
110 : StatisticThresholdFilter(Op, Threshold) {} in RegionCoverageFilter()
121 LineCoverageFilter(Operation Op, double Threshold) in LineCoverageFilter() argument
[all …]

12345678910>>...93