Home
last modified time | relevance | path

Searched refs:label_names (Results 1 – 14 of 14) sorted by relevance

/external/toolchain-utils/crosperf/
Dresults_report.py118 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 …]
Dresults_organizer.py169 label_names = [label.name for label in labels]
170 label_indices = {name: i for i, name in enumerate(label_names)}
Dexperiment_runner.py228 label_names = []
230 label_names.append(label.name)
231 subject = '%s: %s' % (experiment.name, ' vs. '.join(label_names))
Dgenerate_report.py290 label_names=platform_names,
/external/autotest/frontend/afe/
Dadmin.py95 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)
Dmodels.py525 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/
Dcollection_registry_test.cc120 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 …]
Dcollected_metrics.h67 std::vector<string> label_names; member
Dcollection_registry.cc49 metric_descriptor->label_names.push_back(label_name.ToString()); in CollectMetricDescriptor()
/external/autotest/frontend/tko/
Dmodels.py368 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/
Drdb_hosts_unittest.py95 label_names = ['a', 'b']
99 'h1', deps=set(label_names + [platform_name])))
104 self.assertTrue(set(labels) == set(label_names))
Drdb_testing_utils.py149 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)
Dscheduler_models_unittest.py238 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/
Dtpu_estimator.py792 label_names = _extract_key_names(labels)
801 assert label_names == self._label_names, 'label keys mismatched'
807 self._label_names = label_names