Home
last modified time | relevance | path

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

123456

/external/tensorflow/tensorflow/lite/micro/
Dmemory_arena_threshold_test.cc125 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/
Dquality_scaling_experiment_unittest.cc101 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 …]
Dbalanced_degradation_settings_unittest.cc590 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/
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/libchrome/base/memory/
Dmemory_pressure_monitor_chromeos.cc58 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/
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/utils/
Dmetrics_utils.py168 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/
Dmetrics.py953 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 …]
Dmetrics_confusion_matrix_test.py44 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/
Dvideo_encoder.cc68 : 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/
Dthreshold.c930 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/
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.cpp461 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/
Dquality_scaler.h44 VideoEncoder::QpThresholds thresholds);
52 void SetQpThresholds(VideoEncoder::QpThresholds thresholds);
58 VideoEncoder::QpThresholds thresholds,
Dquality_scaler.cc252 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/
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/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/core/ops/compat/ops_history_v1/
DBoostedTreesUpdateEnsembleV2.pbtxt27 name: "thresholds"
91 name: "thresholds"
163 name: "thresholds"
DBoostedTreesCalculateBestFeatureSplit.pbtxt40 name: "thresholds"
113 name: "thresholds"
/external/ImageMagick/config/
DMakefile.am41 config/thresholds.xml \
67 config/thresholds.xml \
/external/webrtc/modules/audio_processing/aec3/
Dmatched_filter_lag_aggregator.cc23 const EchoCanceller3Config::Delay::DelaySelectionThresholds& thresholds) in MatchedFilterLagAggregator() argument
26 thresholds_(thresholds) { in MatchedFilterLagAggregator()
/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()

123456