Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/kernel_tests/
Dconfusion_matrix_test.py253 static_labels, static_predictions = (
264 self.assertAllEqual(label_values, self.evaluate(static_labels))
279 static_labels, static_predictions = (
290 self.assertAllEqual(label_values, self.evaluate(static_labels))
305 static_labels, static_predictions = (
316 self.assertAllEqual(label_values, self.evaluate(static_labels))
331 static_labels, static_predictions = (
343 self.assertAllEqual(expected_label_values, self.evaluate(static_labels))
358 static_labels, static_predictions = (
370 self.assertAllEqual(expected_label_values, self.evaluate(static_labels))
[all …]
/external/autotest/frontend/afe/
Drpc_interface.py311 static_labels = models.StaticLabel.query_objects(filter_data)
313 static_labels = static_labels.exclude(**exclude_filter)
316 static_lists = rpc_utils.prepare_rows_as_nested_dicts(static_labels, ())
480 static_labels, non_static_labels = models.Host.classify_label_objects(
483 host.static_labels.add(*static_labels)
529 static_labels, non_static_labels = models.Host.classify_label_objects(
533 if static_labels:
537 'labels.', static_labels, id)
Dmodels.py513 static_labels = dbmodels.ManyToManyField( variable in Host
559 static_labels = StaticLabel.objects.filter(name__in=static_label_names)
560 return static_labels, non_static_labels
579 static_labels, non_static_labels = cls.classify_labels(label_names)
580 if len(static_labels) + len(non_static_labels) != len(label_names):
585 for l in static_labels:
586 initial_query = initial_query.filter(static_labels=l)
726 self.static_labels.clear()
1722 static_labels, non_static_labels = Host.classify_label_objects(
1724 if static_labels:
[all …]
Drpc_interface_unittest.py389 host1.static_labels.add(static_platform)
470 host1.static_labels.add(static_platform)
520 host1.static_labels.add(static_label)
539 host1.static_labels.add(static_label)
561 host.static_labels.add(static_label)
576 host.static_labels.add(static_label)
606 host.static_labels.add(static_label)
652 host.static_labels.add(static_label)
Drpc_utils.py335 hosts = models.Host.objects.filter(static_labels=static_metahost)