/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/ |
conv.py | 96 3) a table defining labels
198 # Parse the labels
199 labels = []
201 mo = re.match(r"static label labels\[(\d+)\] = {$", line)
214 labels.append((x, y))
217 self.labels = labels
230 mo = re.match(r"\s+{(\d+), labels},$", line)
233 assert nlabels == len(self.labels), (lineno, line)
251 self.keywords = {} # map from keyword strings to arc labels
[all...] |
/external/grpc-grpc/tools/run_tests/artifacts/ |
artifact_targets.py | 111 self.labels = ['artifact', 'python', platform, arch, py_version] 198 self.labels = ['artifact', 'ruby', platform, arch] 220 self.labels = ['artifact', 'csharp', platform, arch] 223 self.labels.append(arch_abi) 287 self.labels = ['artifact', 'php', platform, arch] 305 self.labels = ['artifact', 'protoc', platform, arch]
|
/external/python/cpython2/Lib/lib2to3/pgen2/ |
conv.py | 96 3) a table defining labels 198 # Parse the labels 199 labels = [] 201 mo = re.match(r"static label labels\[(\d+)\] = {$", line) 214 labels.append((x, y)) 217 self.labels = labels 230 mo = re.match(r"\s+{(\d+), labels},$", line) 233 assert nlabels == len(self.labels), (lineno, line) 251 self.keywords = {} # map from keyword strings to arc labels [all...] |
/external/python/cpython3/Lib/lib2to3/pgen2/ |
conv.py | 96 3) a table defining labels 198 # Parse the labels 199 labels = [] 201 mo = re.match(r"static label labels\[(\d+)\] = {$", line) 214 labels.append((x, y)) 217 self.labels = labels 230 mo = re.match(r"\s+{(\d+), labels},$", line) 233 assert nlabels == len(self.labels), (lineno, line) 251 self.keywords = {} # map from keyword strings to arc labels [all...] |
/external/tensorflow/tensorflow/contrib/slim/python/slim/data/ |
tfexample_decoder_test.py | 263 'labels': self._BytesFeature(np_array), 271 'labels': 279 'labels': tfexample_decoder.Tensor('labels'), 283 [tf_labels] = decoder.decode(serialized_example, ['labels']) 284 labels = tf_labels.eval() 286 labels = labels.astype(np_array.dtype) 287 self.assertTrue(np.array_equal(np_array, labels)) 340 'labels': self._EncodedInt64Feature(np_array) [all...] |
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/ |
SpeechActivity.java | 26 The example application displays a list view with all of the known audio labels, 96 private List<String> labels = new ArrayList<String>(); field in class:SpeechActivity 117 // Load the labels for the model, but only display those that don't start 120 Log.i(LOG_TAG, "Reading labels from: " + actualFilename); 126 labels.add(line); 136 // Build a list view based on these labels. 144 labels, 284 float[] outputScores = new float[labels.size()]; 328 for (int i = 0; i < labels.size(); ++i) { 329 if (labels.get(i).equals(result.foundCommand)) [all...] |
/external/tensorflow/tensorflow/examples/label_image/ |
main.cc | 28 // see the top five labels for the example Lena image output. You can then 68 // Takes a file name, and loads a list of labels from it, one per line, and 75 return tensorflow::errors::NotFound("Labels file ", file_name, 230 // Given the output of a model run, and the name of a file containing the labels 234 std::vector<string> labels; local 237 ReadLabelsFile(labels_file_name, &labels, &label_count); 251 LOG(INFO) << labels[label_index] << " (" << label_index << "): " << score; 284 string labels = local 297 Flag("labels", &labels, "name of file containing labels") [all...] |
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/ |
SpeechActivity.java | 26 The example application displays a list view with all of the known audio labels, 99 private List<String> labels = new ArrayList<String>(); field in class:SpeechActivity 133 // Load the labels for the model, but only display those that don't start 136 Log.i(LOG_TAG, "Reading labels from: " + actualLabelFilename); 142 labels.add(line); 152 // Build a list view based on these labels. 160 labels, 307 float[][] outputScores = new float[1][labels.size()]; 351 for (int i = 0; i < labels.size(); ++i) { 352 if (labels.get(i).equals(result.foundCommand)) [all...] |
/external/tensorflow/tensorflow/python/ops/ |
nn_xent_test.py | 62 labels=targets, logits=logits, name="mylogistic") 71 labels=targets, logits=logits) 82 labels=targets, logits=logits) 93 labels=targets, logits=logits) 104 labels=targets, logits=logits) 110 nn_impl.sigmoid_cross_entropy_with_logits(labels=[1, 2, 3],
|
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
TaskListView.java | 71 public TaskAdapter(Context context, String[] labels, boolean[] checkboxes) { 74 mLabels = labels;
|
/external/autotest/scheduler/ |
prejob_task.py | 362 # yet. Therefore, we're stuck pulling labels off of the afe model 364 labels = {x.name for x in task.queue_entry.job.labels} 365 _, provisionable = provision.Provision.partition(labels) 367 '--job-labels', ','.join(provisionable)] 369 self._set_milestone(labels) 373 def _set_milestone(self, labels): 374 """Set build milestone from the labels. 376 @param labels: iterable of labels [all...] |
/external/grpc-grpc/tools/run_tests/ |
task_runner.py | 36 """Maps task names and labels to list of tasks to be built.""" 44 for label in target.labels: 84 targets = [t for t in targets if all(f in t.labels for f in args.filter)]
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/revnet/ |
main_estimator_tpu.py | 71 def _metric_fn(labels, logits): 84 labels: `Tensor` with shape `[batch]`. 91 top_1_accuracy = tf.metrics.accuracy(labels, predictions) 92 in_top_5 = tf.cast(tf.nn.in_top_k(logits, labels, 5), tf.float32) 101 def model_fn(features, labels, mode, params): 106 labels: Labels of images 141 grads, loss = model.compute_gradients(saved_hidden, labels, training=True) 161 loss = model.compute_loss(labels=labels, logits=logits [all...] |
/external/tensorflow/tensorflow/contrib/gan/python/estimator/python/ |
latent_gan_estimator_test.py | 72 """The discriminator function will get either the z variable or labels.""" 80 def _loss(gan_model, features, labels, _): 81 """Make sure that features and labels are passed in from input.""" 83 self.assertTrue(np.array_equal(labels, true_labels))
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
dynamic_rnn_estimator.py | 308 activations, labels, sequence_length, target_column, features): 314 labels: A `Tensor` with length `[batch_size, padded_length]`. 326 activations, labels, sequence_length) 331 activations, labels, sequence_length, target_column, features): 337 labels: A `Tensor` with length `[batch_size]`. 351 return target_column.loss(last_activations, labels, features) 479 def _dynamic_rnn_model_fn(features, labels, mode): 507 rnn_activations, labels, sequence_length, target_column, features) 514 rnn_activations, labels, sequence_length, target_column, features) 522 labels) [all...] |
/external/tensorflow/tensorflow/contrib/tensor_forest/hybrid/python/models/ |
forest_to_data_then_nn_test.py | 78 labels = [1 for _ in range(100)] 83 graph = graph_builder.training_graph(data, labels, None)
|
k_feature_decisions_to_data_then_nn_test.py | 79 labels = [1 for _ in range(100)] 86 graph = graph_builder.training_graph(data, labels, None)
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
wav_to_features_test.py | 44 def _saveWavFolders(self, root_dir, labels, how_many): 46 for label in labels:
|
/external/tensorflow/tensorflow/examples/tutorials/mnist/ |
mnist_softmax_xla.py | 56 cross_entropy = tf.losses.sparse_softmax_cross_entropy(labels=y_, logits=y) 93 y_: mnist.test.labels}))
|
/external/tensorflow/tensorflow/tools/compatibility/testdata/ |
test_file_v1_12.py | 70 logits=[0.1, 0.8], labels=[0, 1]) 73 logits=[0.1, 0.8], labels=[0, 1])
|
/external/v8/src/ast/ |
prettyprinter.h | 94 void PrintLabels(ZonePtrList<const AstRawString>* labels); 113 void PrintLabelsIndented(ZonePtrList<const AstRawString>* labels,
|
/external/v8/tools/heap-stats/ |
histogram-viewer.js | 121 const labels = [ 141 return [labels, ...data]; 146 const labels = ['Bucket', ...instance_types]; 156 return [labels, ...data];
|
/external/autotest/frontend/afe/ |
rpc_interface_unittest.py | 122 host2.labels.add(label1) 147 leased_host.labels.add(label1) 171 host3.labels.add(label1) 390 host1.labels.add(non_static_platform) 391 host1.labels.add(label1) 403 # Respect all labels in afe_hosts_labels. 404 self.assertEquals(host['labels'], 406 # Respect static labels. 424 host2.labels.add(label1) 445 host2.labels.add(label1 [all...] |
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/ |
DebugGrammarParser.cs | 348 // token labels: 349 // rule labels: retval 350 // token list labels: 351 // rule list labels: 352 // wildcard labels: 398 // token labels: 399 // rule labels: retval 400 // token list labels: 401 // rule list labels: 402 // wildcard labels: [all...] |
ProfileGrammarParser.cs | 352 // token labels: 353 // rule labels: retval 354 // token list labels: 355 // rule list labels: 356 // wildcard labels: 402 // token labels: 403 // rule labels: retval 404 // token list labels: 405 // rule list labels: 406 // wildcard labels: [all...] |