Home
last modified time | relevance | path

Searched refs:seqlen (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython3/Objects/stringlib/
Djoin.h14 Py_ssize_t seqlen = 0; in STRINGLIB() local
27 seqlen = PySequence_Fast_GET_SIZE(seq); in STRINGLIB()
28 if (seqlen == 0) { in STRINGLIB()
33 if (seqlen == 1) { in STRINGLIB()
42 if (seqlen > NB_STATIC_BUFFERS) { in STRINGLIB()
43 buffers = PyMem_NEW(Py_buffer, seqlen); in STRINGLIB()
58 for (i = 0, nbufs = 0; i < seqlen; i++) { in STRINGLIB()
91 if (seqlen != PySequence_Fast_GET_SIZE(seq)) { in STRINGLIB()
/external/tensorflow/tensorflow/contrib/recurrent/python/kernel_tests/
Drecurrent_test.py139 for seqlen, use_grad in [(1, False), (1, True), (7, False), (7, True)]:
140 logging.info('== Elman: seqlen=%s, use_grad=%s', seqlen, use_grad)
141 self._ParameterizedTestElman(seqlen, use_grad)
143 def _ParameterizedTestElman(self, seqlen, use_grad): argument
153 inputs = _ElmanInputs(x=RecurrentTest.Rand([seqlen, batch, dims]))
158 for i in xrange(seqlen):
/external/python/cpython2/Lib/test/
Dtest_index.py95 seqlen = len(self.seq)
96 self.o.ind = int(seqlen * 1.5)
97 self.n.ind = seqlen + 2
107 seqlen = len(self.seq)
108 self.o2.ind = -seqlen - 2
109 self.n2.ind = -int(seqlen * 1.5)
/external/python/cpython3/Lib/test/
Dtest_index.py117 seqlen = len(self.seq)
118 self.o.ind = int(seqlen * 1.5)
119 self.n.ind = seqlen + 2
124 self.o2.ind = -seqlen - 2
125 self.n2.ind = -int(seqlen * 1.5)
/external/boringssl/src/crypto/asn1/
Dtasn_enc.c132 int i, seqcontlen, seqlen, ndef = 1; in ASN1_item_ex_i2d() local
231 seqlen = ASN1_object_size(ndef, seqcontlen, tag); in ASN1_item_ex_i2d()
232 if (!out || seqlen == -1) in ASN1_item_ex_i2d()
233 return seqlen; in ASN1_item_ex_i2d()
250 return seqlen; in ASN1_item_ex_i2d()
/external/libvterm/src/
Dinput.c18 int seqlen = fill_utf8(c, str); in vterm_input_push_char() local
19 vterm_push_output_bytes(vt, str, seqlen); in vterm_input_push_char()
Dkeyboard.c18 int seqlen = fill_utf8(c, str); in vterm_keyboard_unichar() local
19 vterm_push_output_bytes(vt, str, seqlen); in vterm_keyboard_unichar()
/external/python/cpython3/Modules/
Dunicodename_db.h27928 int seqlen; member
Dunicodedata.c1255 named_sequences[index].seqlen); in unicodedata_UCD_lookup_impl()
/external/python/cpython2/Modules/
Dstropmodule.c171 Py_ssize_t seqlen, seplen = 0; in strop_joinfields() local
185 seqlen = PySequence_Size(seq); in strop_joinfields()
186 if (seqlen < 0 && PyErr_Occurred()) in strop_joinfields()
189 if (seqlen == 1) { in strop_joinfields()
210 for (i = 0; i < seqlen; i++) { in strop_joinfields()
253 for (i = 0; i < seqlen; i++) { in strop_joinfields()
/external/tensorflow/tensorflow/python/kernel_tests/
Drnn_test.py1041 def rnn_long_sequence_benchmark(batch_size, seqlen, num_units, dynamic, argument
1048 sequence_length = [seqlen for _ in range(batch_size)]
1051 for _ in range(seqlen)
1074 print("%d \t %d \t %d \t %s \t %f \t %f" % (batch_size, seqlen, num_units,
1076 elapsed / seqlen))
1193 seqlen = 800
1199 rnn_long_sequence_benchmark(batch_size, seqlen, num_units,
/external/python/cpython2/Objects/
Dstringobject.c1599 Py_ssize_t seqlen = 0; in string_join() local
1609 seqlen = PySequence_Size(seq); in string_join()
1610 if (seqlen == 0) { in string_join()
1614 if (seqlen == 1) { in string_join()
1629 for (i = 0; i < seqlen; i++) { in string_join()
1673 for (i = 0; i < seqlen; ++i) { in string_join()
1679 if (i < seqlen - 1) { in string_join()
Dunicodeobject.c5655 Py_ssize_t seqlen; /* len(fseq) -- number of items in sequence */ in PyUnicode_Join() local
5671 seqlen = PySequence_Fast_GET_SIZE(fseq); in PyUnicode_Join()
5673 if (seqlen == 0) { in PyUnicode_Join()
5678 if (seqlen == 1) { in PyUnicode_Join()
5688 if (seqlen > 1) { in PyUnicode_Join()
5701 seqlen = PySequence_Fast_GET_SIZE(fseq); in PyUnicode_Join()
5712 for (i = 0; i < seqlen; ++i) { in PyUnicode_Join()
5731 seqlen = PySequence_Fast_GET_SIZE(fseq); in PyUnicode_Join()
5738 if (i < seqlen - 1) { in PyUnicode_Join()
5760 if (i < seqlen - 1) { in PyUnicode_Join()
/external/python/cpython3/Include/
Dunicodeobject.h1983 Py_ssize_t seqlen
/external/python/cpython3/Objects/
Dunicodeobject.c9897 Py_ssize_t seqlen; in PyUnicode_Join() local
9910 seqlen = PySequence_Fast_GET_SIZE(fseq); in PyUnicode_Join()
9911 res = _PyUnicode_JoinArray(separator, items, seqlen); in PyUnicode_Join()
9917 _PyUnicode_JoinArray(PyObject *separator, PyObject *const *items, Py_ssize_t seqlen) in _PyUnicode_JoinArray() argument
9932 if (seqlen == 0) { in _PyUnicode_JoinArray()
9938 if (seqlen == 1) { in _PyUnicode_JoinArray()
9988 for (i = 0; i < seqlen; i++) { in _PyUnicode_JoinArray()
10035 for (i = 0; i < seqlen; ++i) { in _PyUnicode_JoinArray()
10059 for (i = 0, res_offset = 0; i < seqlen; ++i) { in _PyUnicode_JoinArray()