Home
last modified time | relevance | path

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

12345

/external/libaom/libaom/av1/encoder/
Dvar_based_part.c345 static AOM_INLINE void set_vbp_thresholds(AV1_COMP *cpi, int64_t thresholds[], in set_vbp_thresholds() argument
355 thresholds[0] = threshold_base; in set_vbp_thresholds()
356 thresholds[1] = threshold_base; in set_vbp_thresholds()
357 thresholds[2] = threshold_base >> 2; in set_vbp_thresholds()
358 thresholds[3] = threshold_base >> 2; in set_vbp_thresholds()
359 thresholds[4] = threshold_base << 2; in set_vbp_thresholds()
365 thresholds[0] = threshold_base >> 1; in set_vbp_thresholds()
366 thresholds[1] = threshold_base; in set_vbp_thresholds()
367 thresholds[3] = threshold_base << cpi->oxcf.speed; in set_vbp_thresholds()
369 thresholds[3] = thresholds[3] << 1; in set_vbp_thresholds()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/boosted_trees/
Dstats_ops_test.py159 (node_ids, gains, feature_dimensions, thresholds, left_node_contribs,
173 self.assertAllEqual([1, 1], thresholds)
237 (node_ids, gains, feature_ids, feature_dimensions, thresholds,
254 self.assertAllEqual([1, 1], thresholds)
274 (node_ids, gains, feature_ids, feature_dimensions, thresholds,
290 self.assertAllEqual([1, 1], thresholds)
309 (node_ids, gains, feature_ids, feature_dimensions, thresholds,
327 self.assertAllEqual([1, 1], thresholds)
344 (node_ids, gains, feature_ids, feature_dimensions, thresholds,
362 self.assertAllEqual([2, 2], thresholds)
[all …]
Dtraining_ops_test.py79 thresholds=[
187 thresholds=[group1_thresholds, group2_thresholds],
296 thresholds=[group1_thresholds, group2_thresholds],
409 thresholds=[group1_thresholds, group2_thresholds],
622 thresholds=[
825 thresholds=[group1_thresholds, group2_thresholds, group3_thresholds],
1028 thresholds=[group1_thresholds, group2_thresholds, group3_thresholds],
1243 thresholds=[group1_thresholds, group2_thresholds, group3_thresholds],
1464 thresholds=[feature1_thresholds],
1617 thresholds=[group1_thresholds],
[all …]
/external/tensorflow/tensorflow/python/keras/
Dmetrics.py870 thresholds=None, argument
887 self.init_thresholds = thresholds
888 self.thresholds = metrics_utils.parse_init_thresholds(
889 thresholds, default_threshold=0.5)
892 shape=(len(self.thresholds),),
912 thresholds=self.thresholds,
916 if len(self.thresholds) == 1:
923 num_thresholds = len(to_list(self.thresholds))
964 def __init__(self, thresholds=None, name=None, dtype=None): argument
978 thresholds=thresholds,
[all …]
Dmetrics_confusion_matrix_test.py42 fp_obj = metrics.FalsePositives(name='my_fp', thresholds=[0.4, 0.9])
45 self.assertEqual(fp_obj.thresholds, [0.4, 0.9])
51 self.assertEqual(fp_obj2.thresholds, [0.4, 0.9])
79 fp_obj = metrics.FalsePositives(thresholds=[0.15, 0.5, 0.85])
93 fp_obj = metrics.FalsePositives(thresholds=[0.15, 0.5, 0.85])
110 metrics.FalsePositives(thresholds=[-1, 0.5, 2])
115 metrics.FalsePositives(thresholds=[None])
122 fn_obj = metrics.FalseNegatives(name='my_fn', thresholds=[0.4, 0.9])
125 self.assertEqual(fn_obj.thresholds, [0.4, 0.9])
131 self.assertEqual(fn_obj2.thresholds, [0.4, 0.9])
[all …]
/external/tensorflow/tensorflow/python/keras/utils/
Dmetrics_utils.py169 def assert_thresholds_range(thresholds): argument
170 if thresholds is not None:
171 invalid_thresholds = [t for t in thresholds if t is None or t < 0 or t > 1]
178 def parse_init_thresholds(thresholds, default_threshold=0.5): argument
179 if thresholds is not None:
180 assert_thresholds_range(to_list(thresholds))
181 thresholds = to_list(default_threshold if thresholds is None else thresholds)
182 return thresholds
240 thresholds, argument
305 thresh_shape = array_ops.shape(thresholds)
[all …]
/external/ImageMagick/MagickCore/
Dthreshold.c926 const char *thresholds,ExceptionInfo *exception) in BlackThresholdImage() argument
955 if (thresholds == (const char *) NULL) in BlackThresholdImage()
962 flags=ParseGeometry(thresholds,&geometry_info); in BlackThresholdImage()
1332 *thresholds; in GetThresholdMapFile() local
1337 thresholds=NewXMLTree(xml,exception); in GetThresholdMapFile()
1338 if (thresholds == (XMLTreeInfo *) NULL) in GetThresholdMapFile()
1340 for (threshold=GetXMLTreeChild(thresholds,"threshold"); in GetThresholdMapFile()
1353 thresholds=DestroyXMLTree(thresholds); in GetThresholdMapFile()
1361 thresholds=DestroyXMLTree(thresholds); in GetThresholdMapFile()
1369 thresholds=DestroyXMLTree(thresholds); in GetThresholdMapFile()
[all …]
/external/skqp/src/gpu/gradients/
DGrUnrolledBinaryGradientColorizer.fp38 // is worth it. It is assumed thresholds are provided in increasing value, mapped as:
141 SkScalar thresholds[kMaxIntervals];
170 thresholds[intervalCount] = t1;
178 thresholds[i] = 0.0;
185 SkRect::MakeLTRB(thresholds[0], thresholds[1], thresholds[2], thresholds[3]),
186 SkRect::MakeLTRB(thresholds[4], thresholds[5], thresholds[6], 0.0)));
DGrUnrolledBinaryGradientColorizer.cpp334 SkScalar thresholds[kMaxIntervals]; in Make() local
363 thresholds[intervalCount] = t1; in Make()
371 thresholds[i] = 0.0; in Make()
378 SkRect::MakeLTRB(thresholds[0], thresholds[1], thresholds[2], thresholds[3]), in Make()
379 SkRect::MakeLTRB(thresholds[4], thresholds[5], thresholds[6], 0.0))); in Make()
/external/skia/src/gpu/gradients/
DGrUnrolledBinaryGradientColorizer.fp38 // is worth it. It is assumed thresholds are provided in increasing value, mapped as:
141 SkScalar thresholds[kMaxIntervals];
170 thresholds[intervalCount] = t1;
178 thresholds[i] = 0.0;
185 SkRect::MakeLTRB(thresholds[0], thresholds[1], thresholds[2], thresholds[3]),
186 SkRect::MakeLTRB(thresholds[4], thresholds[5], thresholds[6], 0.0)));
/external/skia/src/gpu/gradients/generated/
DGrUnrolledBinaryGradientColorizer.cpp335 SkScalar thresholds[kMaxIntervals]; in Make() local
364 thresholds[intervalCount] = t1; in Make()
372 thresholds[i] = 0.0; in Make()
379 SkRect::MakeLTRB(thresholds[0], thresholds[1], thresholds[2], thresholds[3]), in Make()
380 SkRect::MakeLTRB(thresholds[4], thresholds[5], thresholds[6], 0.0))); in Make()
/external/tensorflow/tensorflow/python/ops/
Dmetrics_impl.py463 thresholds,
531 num_thresholds = len(thresholds)
545 array_ops.expand_dims(array_ops.constant(thresholds), [1]),
642 thresholds=None): argument
730 if thresholds is not None:
732 thresholds = sorted(thresholds)
733 num_thresholds = len(thresholds) + 2
737 thresholds = [(i + 1) * 1.0 / (num_thresholds - 1)
742 thresholds = [0.0 - kepsilon] + thresholds + [1.0 + kepsilon]
745 labels, predictions, thresholds, weights)
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.metrics.pbtxt9 … \'updates_collections\', \'curve\', \'name\', \'summation_method\', \'thresholds\'], varargs=None…
21 …argspec: "args=[\'labels\', \'predictions\', \'thresholds\', \'weights\', \'metrics_collections\',…
29 …argspec: "args=[\'labels\', \'predictions\', \'thresholds\', \'weights\', \'metrics_collections\',…
77 …argspec: "args=[\'labels\', \'predictions\', \'thresholds\', \'weights\', \'metrics_collections\',…
93 …argspec: "args=[\'labels\', \'predictions\', \'thresholds\', \'weights\', \'metrics_collections\',…
125 …argspec: "args=[\'labels\', \'predictions\', \'thresholds\', \'weights\', \'metrics_collections\',…
133 …argspec: "args=[\'labels\', \'predictions\', \'thresholds\', \'weights\', \'metrics_collections\',…
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DBoostedTreesUpdateEnsembleV2.pbtxt27 name: "thresholds"
91 name: "thresholds"
163 name: "thresholds"
DBoostedTreesCalculateBestFeatureSplit.pbtxt40 name: "thresholds"
113 name: "thresholds"
DBoostedTreesUpdateEnsemble.pbtxt22 name: "thresholds"
DBoostedTreesCalculateBestFeatureSplitV2.pbtxt53 name: "thresholds"
DBoostedTreesSparseCalculateBestFeatureSplit.pbtxt48 name: "thresholds"
/external/ImageMagick/config/
DMakefile.am41 config/thresholds.xml \
67 config/thresholds.xml \
/external/aac/libSBRenc/src/
Dtran_det.cpp472 FIXP_DBL *RESTRICT thresholds, in calculateThresholds() argument
538 ? fMult(FL2FXCONST_DBL(0.66f), thresholds[i]) + in calculateThresholds()
542 thresholds[i] = fixMax(ABS_THRES, temp); in calculateThresholds()
553 FIXP_DBL *RESTRICT thresholds, FIXP_DBL *RESTRICT transients, in extractTransientCandidates() argument
591 FIXP_DBL thres = thresholds[i]; in extractTransientCandidates()
593 if ((LONG)thresholds[i] >= 256) in extractTransientCandidates()
594 i_thres = (LONG)((LONG)MAXVAL_DBL / ((((LONG)thresholds[i])) + 1)) in extractTransientCandidates()
678 calculateThresholds(Energies, scaleEnergies, h_sbrTran->thresholds, in FDKsbrEnc_transientDetect()
683 Energies, scaleEnergies, h_sbrTran->thresholds, h_sbrTran->transients, in FDKsbrEnc_transientDetect()
/external/tensorflow/tensorflow/python/kernel_tests/
Dmetrics_test.py1208 thresholds = [0.0, 0.2, 0.3002, 0.6, 1.0]
1215 thresholds=thresholds)
1721 thresholds=[0, 0.5, 1.0])
1733 thresholds=[0, 0.5, 1.0],
1738 thresholds=[0, 0.5, 1.0],
1748 thresholds=[0, 0.5, 1.0],
1753 thresholds=[0, 0.5, 1.0],
1764 thresholds = [0, 0.5, 1.0]
1766 thresholds)
1767 rec, rec_op = metrics.recall_at_thresholds(labels, predictions, thresholds)
[all …]
/external/tensorflow/tensorflow/core/kernels/boosted_trees/
Dtraining_ops.cc181 const auto& thresholds = thresholds_list[feature_idx].vec<int32>(); in FindBestSplitsPerNode() local
198 candidate.threshold = thresholds(candidate_idx); in FindBestSplitsPerNode()
402 const auto& thresholds = thresholds_list[group_idx].vec<int32>(); in FindBestSplitsPerNode() local
422 candidate.threshold = thresholds(candidate_idx); in FindBestSplitsPerNode()
/external/python/cpython2/Lib/test/
Dtest_gc.py219 thresholds = gc.get_threshold()
230 gc.set_threshold(*thresholds)
234 thresholds = gc.get_threshold()
245 gc.set_threshold(*thresholds)
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
Dfsl-e5500.ll2 ; Test support for Freescale e5500 and its higher memcpy inlining thresholds.
Dfsl-e500mc.ll2 ; Test support for Freescale e500mc and its higher memcpy inlining thresholds.

12345