Home
last modified time | relevance | path

Searched refs:static_labels (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/python/kernel_tests/
Dconfusion_matrix_test.py256 static_labels, static_predictions = (
267 self.assertAllEqual(label_values, static_labels.eval())
281 static_labels, static_predictions = (
292 self.assertAllEqual(label_values, static_labels.eval())
306 static_labels, static_predictions = (
317 self.assertAllEqual(label_values, static_labels.eval())
331 static_labels, static_predictions = (
343 self.assertAllEqual(expected_label_values, static_labels.eval())
357 static_labels, static_predictions = (
369 self.assertAllEqual(expected_label_values, static_labels.eval())
[all …]
/external/autotest/frontend/afe/
Dmodels.py509 static_labels = dbmodels.ManyToManyField( variable in Host
552 static_labels = StaticLabel.objects.filter(name__in=static_label_names)
553 return static_labels, non_static_labels
572 static_labels, non_static_labels = cls.classify_labels(label_names)
573 if len(static_labels) + len(non_static_labels) != len(label_names):
578 for l in static_labels:
579 initial_query = initial_query.filter(static_labels=l)
719 self.static_labels.clear()
1668 static_labels, non_static_labels = Host.classify_label_objects(
1670 if static_labels:
[all …]
Drpc_interface.py312 static_labels = models.StaticLabel.query_objects(filter_data)
314 static_labels = static_labels.exclude(**exclude_filter)
317 static_lists = rpc_utils.prepare_rows_as_nested_dicts(static_labels, ())
481 static_labels, non_static_labels = models.Host.classify_label_objects(
484 host.static_labels.add(*static_labels)
533 static_labels, non_static_labels = models.Host.classify_label_objects(
537 if static_labels:
541 'labels.', static_labels, id)
Drpc_interface_unittest.py386 host1.static_labels.add(static_platform)
467 host1.static_labels.add(static_platform)
517 host1.static_labels.add(static_label)
536 host1.static_labels.add(static_label)
558 host.static_labels.add(static_label)
573 host.static_labels.add(static_label)
603 host.static_labels.add(static_label)
649 host.static_labels.add(static_label)
Drpc_utils.py335 hosts = models.Host.objects.filter(static_labels=static_metahost)
/external/autotest/scheduler/
Dscheduler_models_unittest.py164 host1.static_labels.add(static_label1)
165 host1.static_labels.add(static_platform)