/external/toolchain-utils/crosperf/ |
D | results_report.py | 118 label_names, argument 128 self._label_indices = {name: i for i, name in enumerate(label_names)} 130 for label in label_names: 188 table = TableGenerator(runs, benchmark_results.label_names).GetTable() 199 benchmark_results.label_names, 212 benchmark_results.label_names, 360 def _GetHTMLCharts(label_names, test_results): argument 365 table = TableGenerator(runs, label_names).GetTable() 384 for label in label_names: 411 label_names = self.benchmark_results.label_names [all …]
|
D | results_organizer.py | 169 label_names = [label.name for label in labels] 170 label_indices = {name: i for i, name in enumerate(label_names)}
|
D | experiment_runner.py | 228 label_names = [] 230 label_names.append(label.name) 231 subject = '%s: %s' % (experiment.name, ' vs. '.join(label_names))
|
D | generate_report.py | 290 label_names=platform_names,
|
/external/autotest/frontend/afe/ |
D | admin.py | 95 label_names =(models.Label.objects.filter(id__in=value) 97 value = ', '.join(label_names) 114 label_names = data.get(name) 115 if label_names: 116 label_names = label_names.split(',') 117 label_names = filter(None, 118 [name.strip(', ') for name in label_names]) 119 label_ids = (models.Label.objects.filter(name__in=label_names)
|
D | models.py | 525 def classify_labels(cls, label_names): argument 533 if not label_names: 536 labels = Label.objects.filter(name__in=label_names) 557 def get_hosts_with_labels(cls, label_names, initial_query): argument 569 if not label_names: 572 static_labels, non_static_labels = cls.classify_labels(label_names) 573 if len(static_labels) + len(non_static_labels) != len(label_names): 596 label_names = [l.name for l in labels] 597 return cls.get_hosts_with_labels(label_names, initial_query)
|
/external/tensorflow/tensorflow/core/lib/monitoring/ |
D | collection_registry_test.cc | 120 ASSERT_EQ(2, ld.label_names.size()); in TEST() 121 EXPECT_EQ("MyLabel0", ld.label_names[0]); in TEST() 122 EXPECT_EQ("MyLabel1", ld.label_names[1]); in TEST() 130 ASSERT_EQ(0, ud.label_names.size()); in TEST() 210 ASSERT_EQ(2, ld.label_names.size()); in TEST() 211 EXPECT_EQ("MyLabel0", ld.label_names[0]); in TEST() 212 EXPECT_EQ("MyLabel1", ld.label_names[1]); in TEST() 220 ASSERT_EQ(0, ud.label_names.size()); in TEST() 316 ASSERT_EQ(2, ld.label_names.size()); in TEST() 317 EXPECT_EQ("MyLabel0", ld.label_names[0]); in TEST() [all …]
|
D | collected_metrics.h | 67 std::vector<string> label_names; member
|
D | collection_registry.cc | 49 metric_descriptor->label_names.push_back(label_name.ToString()); in CollectMetricDescriptor()
|
/external/autotest/frontend/tko/ |
D | models.py | 368 def _get_label_ids_from_names(self, label_names): argument 370 TestLabel.objects.filter(name__in=label_names) 372 if len(label_ids) < len(set(label_names)): 374 ', '.join(label_names)) 378 def _include_or_exclude_labels(self, query_set, label_names, exclude=False): argument 379 label_ids = self._get_label_ids_from_names(label_names).itervalues() 415 def _join_test_label_columns(self, query_set, label_names): argument 416 label_id_map = self._get_label_ids_from_names(label_names) 417 for label_name in label_names:
|
/external/autotest/scheduler/ |
D | rdb_hosts_unittest.py | 95 label_names = ['a', 'b'] 99 'h1', deps=set(label_names + [platform_name]))) 104 self.assertTrue(set(labels) == set(label_names))
|
D | rdb_testing_utils.py | 149 def add_labels_to_host(cls, host, label_names=set([])): argument 151 for label in label_names: 229 cls.add_labels_to_host(host, label_names=deps)
|
D | scheduler_models_unittest.py | 238 label_names = set(label.name for label in hqe.get_labels()) 239 self.assertEqual(expected_labels, label_names)
|
/external/tensorflow/tensorflow/contrib/tpu/python/tpu/ |
D | tpu_estimator.py | 792 label_names = _extract_key_names(labels) 801 assert label_names == self._label_names, 'label keys mismatched' 807 self._label_names = label_names
|