/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 | 526 def classify_labels(cls, label_names): argument 534 if not label_names: 537 labels = Label.objects.filter(name__in=label_names) 561 def get_hosts_with_labels(cls, label_names, initial_query): argument 573 if not label_names: 576 static_labels, non_static_labels = cls.classify_labels(label_names) 577 if len(static_labels) + len(non_static_labels) != len(label_names): 600 label_names = [l.name for l in labels] 601 return cls.get_hosts_with_labels(label_names, initial_query)
|
/external/tensorflow/tensorflow/core/lib/monitoring/ |
D | collection_registry_test.cc | 112 ASSERT_EQ(2, ld.label_names.size()); in TEST() 113 EXPECT_EQ("MyLabel0", ld.label_names[0]); in TEST() 114 EXPECT_EQ("MyLabel1", ld.label_names[1]); in TEST() 122 ASSERT_EQ(0, ud.label_names.size()); in TEST() 202 ASSERT_EQ(2, ld.label_names.size()); in TEST() 203 EXPECT_EQ("MyLabel0", ld.label_names[0]); in TEST() 204 EXPECT_EQ("MyLabel1", ld.label_names[1]); in TEST() 212 ASSERT_EQ(0, ud.label_names.size()); in TEST() 308 ASSERT_EQ(2, ld.label_names.size()); in TEST() 309 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.emplace_back(label_name); 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/python/tpu/ |
D | tpu_estimator.py | 1104 label_dims_names, label_names, has_labels): argument 1119 if label_names: 1120 num_tensors_in_label = len(label_names) 1134 label_names = _extract_key_names(labels) 1148 if self._label_dims is not None and label_dims_names != label_names: 1151 ' keys. Expected {}, got {}'.format(label_names, 1156 label_dims_names, label_names, has_labels)
|