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.py526 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/
Dcollection_registry_test.cc112 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 …]
Dcollected_metrics.h67 std::vector<string> label_names; member
Dcollection_registry.cc49 metric_descriptor->label_names.emplace_back(label_name); 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/python/tpu/
Dtpu_estimator.py1104 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)