Home
last modified time | relevance | path

Searched full:labels (Results 1 – 25 of 6760) sorted by relevance

12345678910>>...271

/external/tensorflow/tensorflow/python/ops/
Dconfusion_matrix.py29 labels, predictions, expected_rank_diff=0, name=None): argument
36 But, for example, if `labels` contains class IDs and `predictions` contains 1
38 `labels`, so `expected_rank_diff` would be 1. In this case, we'd squeeze
39 `labels` if `rank(predictions) - rank(labels) == 0`, and
40 `predictions` if `rank(predictions) - rank(labels) == 2`.
46 labels: Label values, a `Tensor` whose dimensions match `predictions`.
48 expected_rank_diff: Expected result of `rank(predictions) - rank(labels)`.
52 Tuple of `labels` and `predictions`, possibly with last dim squeezed.
55 [labels, predictions]):
57 labels = ops.convert_to_tensor(labels)
[all …]
Dmetrics_impl.py84 def _remove_squeezable_dimensions(predictions, labels, weights): argument
87 Squeezes last dim of `predictions` or `labels` if their rank differs by 1
99 labels: Optional label `Tensor` whose dimensions match `predictions`.
104 Tuple of `predictions`, `labels` and `weights`. Each of them possibly has
108 if labels is not None:
109 labels, predictions = confusion_matrix.remove_squeezable_dimensions(
110 labels, predictions)
111 predictions.get_shape().assert_is_compatible_with(labels.get_shape())
114 return predictions, labels, None
120 return predictions, labels, weights
[all …]
Dctc_ops.py71 def ctc_loss(labels, argument
88 max(labels.indices(labels.indices[:, 1] == b, 2))
98 `num_labels + 1` classes, where num_labels is the number of true labels, and
101 For example, for a vocabulary containing 3 labels `[a, b, c]`,
102 `num_classes = 4` and the labels indexing is `{a: 0, b: 1, c: 2, blank: 3}`.
108 before loss calculation, wherein repeated labels passed to the loss
109 are merged into single labels. This is useful if the training labels come
113 repeated non-blank labels will not be merged and are interpreted
114 as individual labels. This is a simplified (non-standard) version of CTC.
127 in the input labels before training.
[all …]
/external/googleapis/google/apps/drive/labels/v2beta/
Ddrivelabels_v2beta.yaml4 title: Drive Labels API
7 - name: google.apps.drive.labels.v2beta.LabelService
10 summary: An API for managing Drive Labels
14 - selector: 'google.apps.drive.labels.v2beta.LabelService.*'
17 https://www.googleapis.com/auth/drive.admin.labels,
18 https://www.googleapis.com/auth/drive.labels
19 - selector: google.apps.drive.labels.v2beta.LabelService.GetLabel
22 https://www.googleapis.com/auth/drive.admin.labels,
23 https://www.googleapis.com/auth/drive.admin.labels.readonly,
24 https://www.googleapis.com/auth/drive.labels,
[all …]
Dlabel_service.proto17 package google.apps.drive.labels.v2beta;
21 import "google/apps/drive/labels/v2beta/label.proto";
22 import "google/apps/drive/labels/v2beta/label_limits.proto";
23 import "google/apps/drive/labels/v2beta/label_permission.proto";
24 import "google/apps/drive/labels/v2beta/requests.proto";
25 import "google/apps/drive/labels/v2beta/user_capabilities.proto";
28 option go_package = "google.golang.org/genproto/googleapis/apps/drive/labels/v2beta;labels";
31 option java_package = "com.google.apps.drive.labels.v2beta";
34 // Manage metadata taxonomies based on Labels and Fields that may be used within
39 "https://www.googleapis.com/auth/drive.admin.labels,"
[all …]
Ddrivelabels_v2beta_grpc_service_config.json4 … { "service": "google.apps.drive.labels.v2beta.LabelService.", "method": "GetUserCapabilities" },
5 { "service": "google.apps.drive.labels.v2beta.LabelService.", "method": "ListLabels" },
6 { "service": "google.apps.drive.labels.v2beta.LabelService.", "method": "GetLabel" },
7 { "service": "google.apps.drive.labels.v2beta.LabelService.", "method": "GetLabelLimits" },
8 … { "service": "google.apps.drive.labels.v2beta.LabelService.", "method": "ListLabelPermissions" },
9 { "service": "google.apps.drive.labels.v2beta.LabelService.", "method": "ListLabelLocks" }
22 { "service": "google.apps.drive.labels.v2beta.LabelService.", "method": "CreateLabel" },
23 { "service": "google.apps.drive.labels.v2beta.LabelService.", "method": "DeltaUpdateLabel" },
24 … { "service": "google.apps.drive.labels.v2beta.LabelService.", "method": "UpdateLabelCopyMode" },
25 { "service": "google.apps.drive.labels.v2beta.LabelService.", "method": "PublishLabel" },
[all …]
/external/googleapis/google/apps/drive/labels/v2/
Ddrivelabels_v2.yaml4 title: Drive Labels API
7 - name: google.apps.drive.labels.v2.LabelService
10 summary: An API for managing Drive Labels
14 - selector: 'google.apps.drive.labels.v2.LabelService.*'
17 https://www.googleapis.com/auth/drive.admin.labels,
18 https://www.googleapis.com/auth/drive.labels
19 - selector: google.apps.drive.labels.v2.LabelService.GetLabel
22 https://www.googleapis.com/auth/drive.admin.labels,
23 https://www.googleapis.com/auth/drive.admin.labels.readonly,
24 https://www.googleapis.com/auth/drive.labels,
[all …]
Dlabel_service.proto17 package google.apps.drive.labels.v2;
21 import "google/apps/drive/labels/v2/label.proto";
22 import "google/apps/drive/labels/v2/label_limits.proto";
23 import "google/apps/drive/labels/v2/label_permission.proto";
24 import "google/apps/drive/labels/v2/requests.proto";
25 import "google/apps/drive/labels/v2/user_capabilities.proto";
28 option go_package = "google.golang.org/genproto/googleapis/apps/drive/labels/v2;labels";
31 option java_package = "com.google.apps.drive.labels.v2";
34 // Manage metadata taxonomies based on Labels and Fields that may be used within
39 "https://www.googleapis.com/auth/drive.admin.labels,"
[all …]
Ddrivelabels_v2_grpc_service_config.json4 { "service": "google.apps.drive.labels.v2.LabelService.", "method": "GetUserCapabilities" },
5 { "service": "google.apps.drive.labels.v2.LabelService.", "method": "ListLabels" },
6 { "service": "google.apps.drive.labels.v2.LabelService.", "method": "GetLabel" },
7 { "service": "google.apps.drive.labels.v2.LabelService.", "method": "GetLabelLimits" },
8 { "service": "google.apps.drive.labels.v2.LabelService.", "method": "ListLabelPermissions" },
9 { "service": "google.apps.drive.labels.v2.LabelService.", "method": "ListLabelLocks" }
22 { "service": "google.apps.drive.labels.v2.LabelService.", "method": "CreateLabel" },
23 { "service": "google.apps.drive.labels.v2.LabelService.", "method": "DeltaUpdateLabel" },
24 { "service": "google.apps.drive.labels.v2.LabelService.", "method": "UpdateLabelCopyMode" },
25 { "service": "google.apps.drive.labels.v2.LabelService.", "method": "PublishLabel" },
[all …]
/external/autotest/server/hosts/
Dbase_label.py18 Decorator for labels that should exist forever once applied.
36 return (self._NAME in info.labels) or exists(self, host)
42 This class contains the scaffolding for the host-specific labels.
52 Return the list of labels generated for the host.
57 @return a list of labels applicable to the host.
66 This method is geared for the type of labels that indicate if the host
78 Return the list of labels.
90 Return all possible labels generated by this label class.
92 @returns a tuple of sets, the first set is for labels that are prefixes
93 like 'os:android'. The second set is for labels that are full
[all …]
Dafe_store.py54 return host_info.HostInfo(host.labels, host.attributes)
64 # copy of HostInfo from the AFE and then add/remove labels / attribtes
66 # parallel, we'll end up with corrupted labels / attributes.
69 list(set(old_info.labels) - set(new_info.labels)))
71 list(set(new_info.labels) - set(old_info.labels)))
75 def _remove_labels_on_afe(self, labels): argument
76 """Requests the AFE to remove the given labels.
78 @param labels: Remove these.
80 if not labels:
83 logging.debug('removing labels: %s', labels)
[all …]
/external/sandboxed-api/sandboxed_api/sandbox2/util/
Dbpf_helper_test.cc13 void AddMaxLabels(bpf_labels& labels) { in AddMaxLabels() argument
22 seccomp_bpf_label(&labels, (*label_strs)[i].c_str()); in AddMaxLabels()
27 bpf_labels labels = {}; in TEST() local
28 AddMaxLabels(labels); in TEST()
32 EXPECT_EQ(bpf_resolve_jumps(&labels, filter.data(), filter.size()), 0); in TEST()
36 bpf_labels labels = {}; in TEST() local
37 AddMaxLabels(labels); in TEST()
39 JUMP(&labels, overflow), in TEST()
40 LABEL(&labels, overflow), in TEST()
44 EXPECT_NE(bpf_resolve_jumps(&labels, filter.data(), filter.size()), 0); in TEST()
[all …]
Dbpf_helper.c31 int bpf_resolve_jumps(struct bpf_labels *labels, struct sock_filter *filter, in bpf_resolve_jumps() argument
36 if (labels->count > BPF_LABELS_MAX) { in bpf_resolve_jumps()
49 if (instr->k >= labels->count) { in bpf_resolve_jumps()
55 if (labels->labels[instr->k].location == 0xffffffff) { in bpf_resolve_jumps()
57 labels->labels[instr->k].label); in bpf_resolve_jumps()
60 instr->k = labels->labels[instr->k].location - (offset + 1); in bpf_resolve_jumps()
65 if (labels->labels[instr->k].location != 0xffffffff) { in bpf_resolve_jumps()
67 labels->labels[instr->k].label); in bpf_resolve_jumps()
70 labels->labels[instr->k].location = offset; in bpf_resolve_jumps()
80 /* Simple lookup table for labels. */
[all …]
/external/autotest/utils/
Dlabellib_unittest.py44 labels = ['webcam', 'pool:suites']
45 mapping = labellib.LabelsMapping(labels)
46 self.assertEqual(mapping.getlabels(), labels)
49 labels = ['webcam', 'pool:suites', 'pool:party']
50 mapping = labellib.LabelsMapping(labels)
54 labels = ['ohse:tsubame', 'webcam']
55 mapping = labellib.LabelsMapping(labels)
59 labels = ['webcam', 'exec', 'method']
60 mapping = labellib.LabelsMapping(labels)
64 labels = ['class:protecta', 'method:metafalica', 'exec:chronicle_key']
[all …]
/external/tensorflow/tensorflow/python/ops/losses/
Dlosses_impl.py218 labels, predictions, weights=1.0, scope=None, argument
232 labels: The ground truth output tensor, same dimensions as 'predictions'.
235 `labels`, and must be broadcastable to `labels` (i.e., all dimensions must
243 shape as `labels`; otherwise, it is scalar.
247 `labels` or if the shape of `weights` is invalid or if `labels`
255 if labels is None:
256 raise ValueError("Argument `labels` must not be None.")
260 (predictions, labels, weights)) as scope:
262 labels = math_ops.cast(labels, dtype=dtypes.float32)
263 predictions.get_shape().assert_is_compatible_with(labels.get_shape())
[all …]
/external/tensorflow/tensorflow/python/distribute/
Dmetrics_v1_test.py29 # First four batches of x: labels, predictions -> (labels == predictions)
35 lambda x: {"labels": x % 5, "predictions": x % 3}).batch(
40 # First four batches of labels, predictions: {TP, FP, TN, FN}
47 "labels": [True, False, True, False],
53 # First four batches of labels, predictions: {TP, FP, TN, FN}
60 "labels": [True, False, True, False],
67 "labels": [1., .5, 1., 0.],
151 labels = x["labels"]
153 return metrics.accuracy(labels, predictions)
166 labels = x["labels"]
[all …]
/external/google-cloud-java/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/
DImportDataConfigOrBuilder.java65 * Labels that will be applied to newly imported DataItems. If an identical
67 * labels will be appended to these of the already existing one, and if labels
70 * operation, the labels will be combined and if key collision happens in this
74 * These labels will be overridden by Annotation labels specified inside index
87 * Labels that will be applied to newly imported DataItems. If an identical
89 * labels will be appended to these of the already existing one, and if labels
92 * operation, the labels will be combined and if key collision happens in this
96 * These labels will be overridden by Annotation labels specified inside index
112 * Labels that will be applied to newly imported DataItems. If an identical
114 * labels will be appended to these of the already existing one, and if labels
[all …]
/external/google-cloud-java/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/
DImportDataConfigOrBuilder.java65 * Labels that will be applied to newly imported DataItems. If an identical
67 * labels will be appended to these of the already existing one, and if labels
70 * operation, the labels will be combined and if key collision happens in this
74 * These labels will be overridden by Annotation labels specified inside index
87 * Labels that will be applied to newly imported DataItems. If an identical
89 * labels will be appended to these of the already existing one, and if labels
92 * operation, the labels will be combined and if key collision happens in this
96 * These labels will be overridden by Annotation labels specified inside index
112 * Labels that will be applied to newly imported DataItems. If an identical
114 * labels will be appended to these of the already existing one, and if labels
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dmetrics_test.py50 def _binary_2d_label_to_2d_sparse_value(labels): argument
53 Only 1 values in `labels` are included in result.
56 labels: Dense 2D binary indicator, shape [batch_size, num_classes].
60 is the number of `1` values in each row of `labels`. Values are indices
61 of `1` values along the last dimension of `labels`.
66 for row in labels:
78 shape = [len(labels), len(labels[0])]
84 def _binary_2d_label_to_1d_sparse_value(labels): argument
87 Only 1 values in `labels` are included in result.
90 labels: Dense 2D binary indicator, shape [batch_size, num_classes]. Each
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/sparse_ops/
Dsparse_xent_op_test_base.py36 def _opFwdBwd(self, labels, logits): argument
42 labels=labels, logits=logits)
45 def _npXent(self, labels, logits): argument
47 labels = np.reshape(labels, [-1])
55 labels_mat[np.arange(batch_size), labels] = 1.0
61 np_loss, np_gradient = self._npXent(labels=np_labels, logits=np_logits)
62 tf_loss, tf_gradient = self._opFwdBwd(labels=np_labels, logits=np_logits)
69 labels=np.array([0, 0, 0]).astype(label_dtype),
76 labels = [4, 3, 0, -1]
79 loss, gradient = self._opFwdBwd(labels=labels, logits=logits)
[all …]
/external/sdk-platform-java/java-core/google-cloud-core/src/main/java/com/google/cloud/
DMonitoredResource.java32 * the resource's schema. Information in the labels field identifies the actual resource and its
36 * gce_instance} type and specifies values for the labels {@code instance_id} and {@code zone} to
44 private final Map<String, String> labels; field in MonitoredResource
50 private Map<String, String> labels = new HashMap<>(); field in MonitoredResource.Builder
58 this.labels = new HashMap<>(monitoredResource.labels); in Builder()
72 * Sets the values for all the labels required by the corresponding monitored resource
74 * Engine VM instances use the labels {@code instance_id} and {@code zone}.
76 public Builder setLabels(Map<String, String> labels) { in setLabels() argument
77 this.labels = new HashMap<>(checkNotNull(labels)); in setLabels()
81 /** Adds a label to the labels of the monitored resource. */
[all …]
/external/rust/android-crates-io/crates/grpcio-sys/grpc/tools/run_tests/sanity/
Dcheck_test_filtering.py37 if test in job.labels:
49 def test_filtering(self, changed_files=[], labels=_LIST_OF_LANGUAGE_LABELS): argument
52 default labels should be able to match all jobs
54 :param labels: list of job labels that should be skipped
80 for label in labels:
84 self.assertNotIn(label, job.labels)
87 for label in labels:
91 if (label in job.labels):
104 if label not in filter_pull_request_tests._CORE_TEST_SUITE.labels +
105 filter_pull_request_tests._CPP_TEST_SUITE.labels
[all …]
/external/grpc-grpc/tools/run_tests/sanity/
Dcheck_test_filtering.py45 if test in job.labels:
56 def test_filtering(self, changed_files=[], labels=_LIST_OF_LANGUAGE_LABELS): argument
59 default labels should be able to match all jobs
61 :param labels: list of job labels that should be skipped
88 for label in labels:
92 self.assertNotIn(label, job.labels)
95 for label in labels:
99 if label in job.labels:
117 not in filter_pull_request_tests._CORE_TEST_SUITE.labels
118 + filter_pull_request_tests._CPP_TEST_SUITE.labels
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/nn_ops/
Dctc_loss_op_test.py63 def _ctc_loss_v2(labels, inputs, sequence_length, argument
73 labels=labels,
86 labels, argument
96 inputs=inputs_t, labels=labels, sequence_length=seq_lens)
227 labels = SimpleSparseTensorFrom([targets_0, targets_1])
244 self._testCTCLoss(inputs, seq_lens, labels, loss_truth, grad_truth)
255 labels = SimpleSparseTensorFrom([[0, 1], [1, 0]])
265 inputs=inputs_t, labels=labels, sequence_length=seq_lens)
268 labels=labels,
279 labels = SimpleSparseTensorFrom([[0, 1], [1, 0]])
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.metrics.pbtxt5 …argspec: "args=[\'labels\', \'predictions\', \'weights\', \'metrics_collections\', \'updates_colle…
9 …argspec: "args=[\'labels\', \'predictions\', \'weights\', \'num_thresholds\', \'metrics_collection…
13 …argspec: "args=[\'labels\', \'predictions\', \'k\', \'weights\', \'metrics_collections\', \'update…
17 …argspec: "args=[\'labels\', \'predictions\', \'weights\', \'metrics_collections\', \'updates_colle…
21 …argspec: "args=[\'labels\', \'predictions\', \'thresholds\', \'weights\', \'metrics_collections\',…
25 …argspec: "args=[\'labels\', \'predictions\', \'weights\', \'metrics_collections\', \'updates_colle…
29 …argspec: "args=[\'labels\', \'predictions\', \'thresholds\', \'weights\', \'metrics_collections\',…
37 …argspec: "args=[\'labels\', \'predictions\', \'weights\', \'metrics_collections\', \'updates_colle…
41 …argspec: "args=[\'labels\', \'predictions\', \'dim\', \'weights\', \'metrics_collections\', \'upda…
45 …argspec: "args=[\'labels\', \'predictions\', \'num_classes\', \'weights\', \'metrics_collections\'…
[all …]

12345678910>>...271