/external/tensorflow/tensorflow/lite/micro/ |
D | memory_arena_threshold_test.cc | 125 const ModelAllocationThresholds& thresholds) { in ValidateModelAllocationThresholds() argument 130 thresholds.total_alloc_size); in ValidateModelAllocationThresholds() 133 thresholds.head_alloc_size); in ValidateModelAllocationThresholds() 136 thresholds.tail_alloc_size); in ValidateModelAllocationThresholds() 143 sizeof(TfLiteEvalTensor) * thresholds.tensor_count); in ValidateModelAllocationThresholds() 150 thresholds.tensor_variable_buffer_data_size); in ValidateModelAllocationThresholds() 157 thresholds.persistent_tflite_tensor_data_size); in ValidateModelAllocationThresholds() 164 thresholds.persistent_tflite_tensor_quantization_data_size); in ValidateModelAllocationThresholds() 171 thresholds.persistent_buffer_data); in ValidateModelAllocationThresholds() 179 thresholds.node_and_registration_count); in ValidateModelAllocationThresholds() [all …]
|
/external/webrtc/rtc_base/experiments/ |
D | quality_scaling_experiment_unittest.cc | 101 const auto thresholds = in TEST() local 103 EXPECT_TRUE(thresholds); in TEST() 104 EXPECT_EQ(1, thresholds->low); in TEST() 105 EXPECT_EQ(2, thresholds->high); in TEST() 111 const auto thresholds = in TEST() local 113 EXPECT_FALSE(thresholds); in TEST() 119 const auto thresholds = in TEST() local 121 EXPECT_TRUE(thresholds); in TEST() 122 EXPECT_EQ(3, thresholds->low); in TEST() 123 EXPECT_EQ(4, thresholds->high); in TEST() [all …]
|
D | balanced_degradation_settings_unittest.cc | 590 const auto thresholds = settings.GetQpThresholds(kVideoCodecVP9, 1000); in TEST() local 591 EXPECT_TRUE(thresholds); in TEST() 592 EXPECT_EQ(55, thresholds->low); in TEST() 593 EXPECT_EQ(155, thresholds->high); in TEST() 602 const auto thresholds = settings.GetQpThresholds(kVideoCodecH264, 2000); in TEST() local 603 EXPECT_TRUE(thresholds); in TEST() 604 EXPECT_EQ(22, thresholds->low); in TEST() 605 EXPECT_EQ(43, thresholds->high); in TEST() 614 const auto thresholds = settings.GetQpThresholds(kVideoCodecGeneric, 3000); in TEST() local 615 EXPECT_TRUE(thresholds); in TEST() [all …]
|
/external/libaom/libaom/av1/encoder/ |
D | var_based_part.c | 345 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/libchrome/base/memory/ |
D | memory_pressure_monitor_chromeos.cc | 58 MemoryPressureMonitor::MemoryPressureThresholds thresholds) { in GetModerateMemoryThresholdInPercent() argument 59 return thresholds == MemoryPressureMonitor:: in GetModerateMemoryThresholdInPercent() 61 thresholds == MemoryPressureMonitor::THRESHOLD_AGGRESSIVE in GetModerateMemoryThresholdInPercent() 69 MemoryPressureMonitor::MemoryPressureThresholds thresholds) { in GetCriticalMemoryThresholdInPercent() argument 70 return thresholds == MemoryPressureMonitor:: in GetCriticalMemoryThresholdInPercent() 72 thresholds == MemoryPressureMonitor::THRESHOLD_AGGRESSIVE in GetCriticalMemoryThresholdInPercent() 107 MemoryPressureThresholds thresholds) in MemoryPressureMonitor() argument 113 GetModerateMemoryThresholdInPercent(thresholds)), in MemoryPressureMonitor() 115 GetCriticalMemoryThresholdInPercent(thresholds)), in MemoryPressureMonitor()
|
/external/tensorflow/tensorflow/python/kernel_tests/boosted_trees/ |
D | stats_ops_test.py | 159 (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 …]
|
D | training_ops_test.py | 79 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/utils/ |
D | metrics_utils.py | 168 def assert_thresholds_range(thresholds): argument 169 if thresholds is not None: 170 invalid_thresholds = [t for t in thresholds if t is None or t < 0 or t > 1] 177 def parse_init_thresholds(thresholds, default_threshold=0.5): argument 178 if thresholds is not None: 179 assert_thresholds_range(to_list(thresholds)) 180 thresholds = to_list(default_threshold if thresholds is None else thresholds) 181 return thresholds 239 thresholds, argument 313 thresholds = ops.convert_to_tensor_v2_with_dispatch( [all …]
|
/external/tensorflow/tensorflow/python/keras/ |
D | metrics.py | 953 thresholds=None, argument 958 self.init_thresholds = thresholds 959 self.thresholds = metrics_utils.parse_init_thresholds( 960 thresholds, default_threshold=0.5) 963 shape=(len(self.thresholds),), 983 thresholds=self.thresholds, 987 if len(self.thresholds) == 1: 994 num_thresholds = len(to_list(self.thresholds)) 1045 def __init__(self, thresholds=None, name=None, dtype=None): argument 1048 thresholds=thresholds, [all …]
|
D | metrics_confusion_matrix_test.py | 44 fp_obj = metrics.FalsePositives(name='my_fp', thresholds=[0.4, 0.9]) 47 self.assertEqual(fp_obj.thresholds, [0.4, 0.9]) 53 self.assertEqual(fp_obj2.thresholds, [0.4, 0.9]) 81 fp_obj = metrics.FalsePositives(thresholds=[0.15, 0.5, 0.85]) 95 fp_obj = metrics.FalsePositives(thresholds=[0.15, 0.5, 0.85]) 112 metrics.FalsePositives(thresholds=[-1, 0.5, 2]) 117 metrics.FalsePositives(thresholds=[None]) 124 fn_obj = metrics.FalseNegatives(name='my_fn', thresholds=[0.4, 0.9]) 127 self.assertEqual(fn_obj.thresholds, [0.4, 0.9]) 133 self.assertEqual(fn_obj2.thresholds, [0.4, 0.9]) [all …]
|
/external/webrtc/api/video_codecs/ |
D | video_encoder.cc | 68 : thresholds(QpThresholds(low, high)) {} in ScalingSettings() 73 : thresholds(QpThresholds(low, high)), min_pixels_per_frame(min_pixels) {} in ScalingSettings() 117 if (scaling_settings.thresholds) { in ToString() 120 << scaling_settings.thresholds->low in ToString() 121 << ", high = " << scaling_settings.thresholds->high << "}, "; in ToString() 174 if (scaling_settings.thresholds.has_value() != in operator ==() 175 rhs.scaling_settings.thresholds.has_value()) { in operator ==() 178 if (scaling_settings.thresholds.has_value()) { in operator ==() 179 QpThresholds l = *scaling_settings.thresholds; in operator ==() 180 QpThresholds r = *rhs.scaling_settings.thresholds; in operator ==()
|
/external/ImageMagick/MagickCore/ |
D | threshold.c | 930 const char *thresholds,ExceptionInfo *exception) in BlackThresholdImage() argument 959 if (thresholds == (const char *) NULL) in BlackThresholdImage() 966 flags=ParseGeometry(thresholds,&geometry_info); in BlackThresholdImage() 1546 *thresholds; in GetThresholdMapFile() local 1551 thresholds=NewXMLTree(xml,exception); in GetThresholdMapFile() 1552 if (thresholds == (XMLTreeInfo *) NULL) in GetThresholdMapFile() 1554 for (threshold=GetXMLTreeChild(thresholds,"threshold"); in GetThresholdMapFile() 1567 thresholds=DestroyXMLTree(thresholds); in GetThresholdMapFile() 1575 thresholds=DestroyXMLTree(thresholds); in GetThresholdMapFile() 1583 thresholds=DestroyXMLTree(thresholds); in GetThresholdMapFile() [all …]
|
/external/skqp/src/gpu/gradients/ |
D | GrUnrolledBinaryGradientColorizer.fp | 38 // 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)));
|
D | GrUnrolledBinaryGradientColorizer.cpp | 334 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/ |
D | GrUnrolledBinaryGradientColorizer.fp | 38 // 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/ |
D | GrUnrolledBinaryGradientColorizer.cpp | 461 SkScalar thresholds[kMaxIntervals]; in Make() local 490 thresholds[intervalCount] = t1; in Make() 498 thresholds[i] = 0.0; in Make() 519 SkRect::MakeLTRB(thresholds[0], thresholds[1], thresholds[2], thresholds[3]), in Make() 520 SkRect::MakeLTRB(thresholds[4], thresholds[5], thresholds[6], 0.0))); in Make()
|
/external/webrtc/modules/video_coding/utility/ |
D | quality_scaler.h | 44 VideoEncoder::QpThresholds thresholds); 52 void SetQpThresholds(VideoEncoder::QpThresholds thresholds); 58 VideoEncoder::QpThresholds thresholds,
|
D | quality_scaler.cc | 252 VideoEncoder::QpThresholds thresholds) in QualityScaler() argument 253 : QualityScaler(handler, thresholds, kMeasureMs) {} in QualityScaler() 257 VideoEncoder::QpThresholds thresholds, in QualityScaler() argument 260 thresholds_(thresholds), in QualityScaler() 304 void QualityScaler::SetQpThresholds(VideoEncoder::QpThresholds thresholds) { in SetQpThresholds() argument 306 thresholds_ = thresholds; in SetQpThresholds()
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.metrics.pbtxt | 9 … \'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/python/ops/ |
D | metrics_impl.py | 463 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/core/ops/compat/ops_history_v1/ |
D | BoostedTreesUpdateEnsembleV2.pbtxt | 27 name: "thresholds" 91 name: "thresholds" 163 name: "thresholds"
|
D | BoostedTreesCalculateBestFeatureSplit.pbtxt | 40 name: "thresholds" 113 name: "thresholds"
|
/external/ImageMagick/config/ |
D | Makefile.am | 41 config/thresholds.xml \ 67 config/thresholds.xml \
|
/external/webrtc/modules/audio_processing/aec3/ |
D | matched_filter_lag_aggregator.cc | 23 const EchoCanceller3Config::Delay::DelaySelectionThresholds& thresholds) in MatchedFilterLagAggregator() argument 26 thresholds_(thresholds) { in MatchedFilterLagAggregator()
|
/external/aac/libSBRenc/src/ |
D | tran_det.cpp | 472 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()
|