/external/tensorflow/tensorflow/core/util/ctc/ |
D | ctc_loss_calculator.h | 63 Status CalculateLoss(const VectorIn& seq_len, const LabelSequences& labels, 94 int num_classes, const Vector& seq_len, 109 const VectorIn& seq_len, const LabelSequences& labels, in CalculateLoss() argument 144 auto max_seq_len = seq_len(0); in CalculateLoss() 146 if (seq_len(b) < 0) { in CalculateLoss() 149 if (seq_len(b) > num_time_steps) { in CalculateLoss() 152 max_seq_len = std::max(seq_len(b), max_seq_len); in CalculateLoss() 161 batch_size, num_classes, seq_len, labels, &max_u_prime, &l_primes); in CalculateLoss() 168 &seq_len, &inputs, requires_backprop, in CalculateLoss() 176 if (seq_len(b) == 0 || in CalculateLoss() [all …]
|
D | ctc_beam_search_test.cc | 151 Eigen::Map<const Eigen::ArrayXi> seq_len(&sequence_lengths[0], batch_size); in TEST() local 166 EXPECT_TRUE(decoder.Decode(seq_len, inputs, &outputs, &scores).ok()); in TEST() 177 dictionary_decoder.Decode(seq_len, inputs, &dict_outputs, &scores).ok()); in TEST() 201 Eigen::Map<const Eigen::ArrayXi> seq_len(&sequence_lengths[0], batch_size); in TEST() local 216 EXPECT_TRUE(decoder.Decode(seq_len, inputs, &outputs, &scores).ok()); in TEST() 296 Eigen::Map<const Eigen::ArrayXi> seq_len(&sequence_lengths[0], batch_size); in TEST() local 311 EXPECT_TRUE(decoder.Decode(seq_len, inputs, &outputs, &scores).ok()); in TEST() 318 EXPECT_TRUE(decoder.Decode(seq_len, inputs, &outputs, &scores).ok()); in TEST() 325 EXPECT_TRUE(decoder.Decode(seq_len, inputs, &outputs, &scores).ok()); in TEST() 333 EXPECT_TRUE(decoder.Decode(seq_len, inputs, &outputs, &scores).ok()); in TEST() [all …]
|
D | ctc_decoder.h | 55 virtual Status Decode(const SequenceLength& seq_len, 76 Status Decode(const CTCDecoder::SequenceLength& seq_len, in Decode() argument 90 int seq_len_b = seq_len[b]; in Decode()
|
D | ctc_beam_search.h | 101 Status Decode(const CTCDecoder::SequenceLength& seq_len, 158 const CTCDecoder::SequenceLength& seq_len, in Decode() argument 178 int seq_len_b = seq_len[b]; in Decode()
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | batch_dataset_op_test.py | 238 seq_len = random_seq_lens[(i * 4) + j] 239 self.assertAllEqual(result[j, :seq_len], [seq_len] * seq_len) 240 self.assertAllEqual(result[j, seq_len:], [0] * (padded_len - seq_len)) 254 seq_len = random_seq_lens[(i * 4) + j] 255 self.assertAllEqual(result[j, :seq_len], [seq_len] * seq_len) 256 self.assertAllEqual(result[j, seq_len:], [0] * (25 - seq_len)) 305 seq_len = random_seq_lens[(i * 4) + j] 306 self.assertAllEqual(result[0][j, :seq_len], [seq_len] * seq_len) 307 self.assertAllEqual(result[0][j, seq_len:], 308 [-1] * (padded_len - seq_len)) [all …]
|
/external/libconstrainedcrypto/ |
D | dsa_sig.c | 63 int seq_len; in dsa_sig_unpack() local 86 seq_len = sig[1]; in dsa_sig_unpack() 87 if ((seq_len <= 0) || (seq_len + 2 != sig_len)) { in dsa_sig_unpack() 98 if ((r_len < 1) || (r_len > seq_len - 5) || (sig[4 + r_len] != 0x02)) { in dsa_sig_unpack() 109 if ((s_len < 1) || (s_len != seq_len - 4 - r_len)) { in dsa_sig_unpack()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | ctc_decoder_ops.cc | 57 OpKernelContext* ctx, const Tensor** inputs, const Tensor** seq_len, in ValidateInputsGenerateOutputs() argument 62 status = ctx->input("sequence_length", seq_len); in ValidateInputsGenerateOutputs() 77 if (!TensorShapeUtils::IsVector((*seq_len)->shape())) { in ValidateInputsGenerateOutputs() 81 if (!(batch_size == (*seq_len)->dim_size(0))) { in ValidateInputsGenerateOutputs() 84 "len(sequence_length): ", (*seq_len)->dim_size(0), in ValidateInputsGenerateOutputs() 88 auto seq_len_t = (*seq_len)->vec<int32>(); in ValidateInputsGenerateOutputs() 180 const Tensor* seq_len; in Compute() local 186 ctx, &inputs, &seq_len, &log_prob, &decoded_indices, in Compute() 206 auto seq_len_t = seq_len->vec<int32>(); in Compute() 259 const Tensor* seq_len; in Compute() local [all …]
|
D | ctc_loss_op.cc | 53 const Tensor* seq_len; in Compute() local 57 OP_REQUIRES_OK(ctx, ctx->input("sequence_length", &seq_len)); in Compute() 61 OP_REQUIRES(ctx, TensorShapeUtils::IsVector(seq_len->shape()), in Compute() 78 ctx, batch_size == seq_len->dim_size(0), in Compute() 80 "len(sequence_length): ", seq_len->dim_size(0), in Compute() 82 auto seq_len_t = seq_len->vec<int32>(); in Compute() 137 OP_REQUIRES_OK(ctx, ctx->allocate_output("loss", seq_len->shape(), &loss)); in Compute()
|
/external/syslinux/gpxe/src/net/ |
D | tcp.c | 402 uint32_t seq_len; in tcp_xmit() local 418 seq_len = len; in tcp_xmit() 423 seq_len++; in tcp_xmit() 425 tcp->snd_sent = seq_len; in tcp_xmit() 428 if ( ( seq_len == 0 ) && ! force_send ) in tcp_xmit() 436 if ( seq_len ) in tcp_xmit() 443 "%08x\n", tcp, tcp->snd_seq, ( tcp->snd_seq + seq_len ), in tcp_xmit() 495 ntohl ( tcphdr->seq ), ( ntohl ( tcphdr->seq ) + seq_len ), in tcp_xmit() 674 static void tcp_rx_seq ( struct tcp_connection *tcp, uint32_t seq_len ) { in tcp_rx_seq() argument 675 tcp->rcv_ack += seq_len; in tcp_rx_seq() [all …]
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/rnn_ptb/ |
D | rnn_ptb.py | 165 def _get_batch(data, i, seq_len): argument 166 slen = min(seq_len, data.shape[0] - 1 - i) 177 for _, i in enumerate(range(0, data.shape[0] - 1, FLAGS.seq_len)): 178 inp, target = _get_batch(data, i, FLAGS.seq_len) 318 train(model, optimizer, train_data, FLAGS.seq_len, FLAGS.clip)
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_privsep.c | 211 const u8 *seq, size_t seq_len, in wpa_driver_privsep_set_key() argument 228 if (seq && seq_len > 0 && seq_len < sizeof(cmd.seq)) { in wpa_driver_privsep_set_key() 229 os_memcpy(cmd.seq, seq, seq_len); in wpa_driver_privsep_set_key() 230 cmd.seq_len = seq_len; in wpa_driver_privsep_set_key()
|
D | driver_wext.h | 57 int set_tx, const u8 *seq, size_t seq_len,
|
D | driver_openbsd.c | 73 size_t seq_len, const u8 *key, size_t key_len) in wpa_driver_openbsd_set_key() argument
|
D | driver_wext.c | 1711 size_t seq_len, in wpa_driver_wext_set_key_ext() argument 1719 if (seq_len > IW_ENCODE_SEQ_MAX_SIZE) { in wpa_driver_wext_set_key_ext() 1721 __FUNCTION__, (unsigned long) seq_len); in wpa_driver_wext_set_key_ext() 1779 if (seq && seq_len) { in wpa_driver_wext_set_key_ext() 1781 os_memcpy(ext->rx_seq, seq, seq_len); in wpa_driver_wext_set_key_ext() 1830 int set_tx, const u8 *seq, size_t seq_len, in wpa_driver_wext_set_key() argument 1840 (unsigned long) seq_len, (unsigned long) key_len); in wpa_driver_wext_set_key() 1843 seq, seq_len, key, key_len); in wpa_driver_wext_set_key()
|
D | driver_bsd.c | 336 size_t seq_len, const u8 *key, size_t key_len) in bsd_set_key() argument 345 set_tx, seq_len, key_len); in bsd_set_key() 415 for (i = 0; i < seq_len; i++) in bsd_set_key() 418 os_memcpy(&wk.ik_keyrsc, seq, seq_len); in bsd_set_key()
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | reverse_sequence_op.cc | 105 auto seq_len = body_builder->DynamicSlice( in Compile() local 125 seq_len), in Compile()
|
/external/wpa_supplicant_8/src/common/ |
D | privsep_commands.h | 82 size_t seq_len; member
|
/external/tensorflow/tensorflow/contrib/rnn/kernels/ |
D | lstm_ops.h | 79 typename TTypes<int64>::ConstVec seq_len, in operator() 83 mask.device(d) = seq_len.constant(time_idx) < seq_len; in operator()
|
/external/boringssl/src/ssl/ |
D | tls_record.cc | 154 int ssl_record_sequence_update(uint8_t *seq, size_t seq_len) { in ssl_record_sequence_update() argument 155 for (size_t i = seq_len - 1; i < seq_len; i--) { in ssl_record_sequence_update()
|
/external/perfetto/src/tracing/core/ |
D | trace_buffer_unittest.cc | 564 for (unsigned seq_len = 1; seq_len <= 10; seq_len++) { in TEST_F() local 572 for (unsigned i = 1; i <= seq_len; i++) { in TEST_F() 580 CreateChunk(ProducerID(1), WriterID(1), ChunkID(seq_len + 1)) in TEST_F()
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | wpa_i.h | 190 const u8 *seq, size_t seq_len, in wpa_sm_set_key() argument 195 seq, seq_len, key, key_len); in wpa_sm_set_key()
|
/external/python/cpython3/Modules/ |
D | _posixsubprocess.c | 114 Py_ssize_t seq_idx, seq_len = PySequence_Length(fd_sequence); in _sanity_check_python_fd_sequence() local 116 for (seq_idx = 0; seq_idx < seq_len; ++seq_idx) { in _sanity_check_python_fd_sequence()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ibss_rsn.c | 141 const u8 *seq, size_t seq_len, in supp_set_key() argument 149 wpa_hexdump(MSG_DEBUG, "SUPP: set_key - seq", seq, seq_len); in supp_set_key() 169 set_tx, seq, seq_len, key, key_len); in supp_set_key()
|
D | preauth_test.c | 129 const u8 *seq, size_t seq_len, in wpa_supplicant_set_key() argument
|
D | driver_i.h | 144 const u8 *seq, size_t seq_len, in wpa_drv_set_key() argument 156 seq, seq_len, key, key_len); in wpa_drv_set_key()
|