/external/tensorflow/tensorflow/compiler/tests/ |
tensor_array_ops_test.py | 193 lengths = constant_op.constant([0, 0, 0]) 194 w0 = ta.split(convert([]), lengths=lengths) 207 lengths = constant_op.constant([1, 1, 1]) 208 w0 = ta.split(convert([1.0, 2.0, 3.0]), lengths=lengths) 221 lengths = constant_op.constant([1, 1, 1]) 223 convert([[1.0, 101.0], [2.0, 201.0], [3.0, 301.0]]), lengths=lengths) 373 lengths = array_ops.placeholder(dtypes.int64 [all...] |
/external/tensorflow/tensorflow/contrib/learn/python/learn/ |
models.py | 188 def _reverse_seq(input_seq, lengths): 189 """Reverse a list of Tensors up to specified lengths. 193 lengths: A tensor of dimension batch_size, containing lengths for each 200 if lengths is None: 210 s_reversed = array_ops_.reverse_sequence(s_joined, lengths, 0, 1) 249 containing the actual lengths for each of the sequences.
|
/external/tensorflow/tensorflow/go/ |
attrs.go | 63 lengths := make([]C.size_t, meta.list_size) 66 C.TF_OperationGetAttrStringList(op.c, cname, &values[0], &lengths[0], C.int(meta.list_size), unsafe.Pointer(&storage[0]), C.size_t(meta.total_size), status.c) 72 length := lengths[i]
|
/external/deqp/modules/gles2/functional/ |
es2fShaderApiTests.cpp | 67 std::vector<int> lengths; member in struct:deqp::gles2::Functional::__anon19642::ShaderSources 97 if (sources.lengths.size() > 0) 98 shader.setSources((int)cStrings.size(), &cStrings[0], &sources.lengths[0]); 116 out.lengths.push_back((int)sliceSize); 127 out.lengths.push_back(lastStringLength); 669 DE_ASSERT(sources.lengths.size() > 0); 670 DE_ASSERT(sources.lengths.size() == sources.strings.size()); 680 const int unpaddedLength = sources.lengths[ndx]; 684 sources.lengths[ndx] = m_rnd.getInt(-10, -1); 1088 + (explicitLengths ? ", using explicitly specified string lengths" : "" [all...] |
/external/icu/icu4c/source/common/ |
unames.cpp | 505 * expandGroupLengths() reads a block of compressed lengths of 32 strings and 506 * expands them into offsets and lengths for each string. 507 * Lengths are stored with a variable-width encoding in consecutive nibbles: 511 * The offsets and lengths arrays must be at least 33 (one more) long because 516 uint16_t offsets[LINES_PER_GROUP+1], uint16_t lengths[LINES_PER_GROUP+1]) { 517 /* read the lengths of the 32 strings in this group and get each string's offset */ 521 /* all 32 lengths must be read to get the offset of the first group string */ 540 *lengths++=length; 552 *lengths++=length; 570 uint16_t offsets[LINES_PER_GROUP+2], lengths[LINES_PER_GROUP+2] local 603 uint16_t offsets[LINES_PER_GROUP+2], lengths[LINES_PER_GROUP+2]; local 1343 uint16_t offsets[LINES_PER_GROUP+2], lengths[LINES_PER_GROUP+2]; local 1992 uint16_t offsets[LINES_PER_GROUP+1], lengths[LINES_PER_GROUP+1]; local [all...] |
/external/mesa3d/src/mesa/sparc/ |
sparc.c | 94 const GLfloat *lengths, \
|
/external/mesa3d/src/mesa/x86/ |
x86_xform.h | 74 const GLfloat *lengths, \
|
/external/tensorflow/tensorflow/contrib/recurrent/python/ops/ |
functional_rnn.py | 187 lengths = array_ops.tile( 190 math_ops.less(output_time, lengths), dtype=tf_output.dtype) 209 lengths = array_ops.tile(array_ops.reshape(sequence_length, 211 last_idx = math_ops.cast(math_ops.equal(output_time, lengths - 1), 364 This is only possible when either all sequence lengths are the same inside 411 'Bidirectional with variable sequence lengths unsupported on TPU')
|
/external/deqp/external/openglcts/modules/common/ |
glcKHRDebugTests.cpp | 107 0 /* ids */, 0 /* severities */, 0 /* lengths */, 0 /* messageLog */); 349 GLsizei lengths[count]; local 355 m_gl->getDebugMessageLog(count /* count */, -1 /* bufSize */, sources, types, ids, severities, lengths, 1314 GLsizei lengths[read_messages]; local 1579 std::vector<GLsizei> lengths; local 1881 GLsizei lengths[read_messages]; local [all...] |
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
ShaderLang.cpp | 804 std::unique_ptr<size_t[]> lengths(new size_t[numTotal]); 810 lengths[s + numPre] = strlen(shaderStrings[s]); 812 lengths[s + numPre] = inputLengths[s] [all...] |
/external/freetype/src/type42/ |
t42parse.c | 1028 name_table->lengths [0] ); 1035 code_table->lengths [0] ); 1042 name_table->lengths [notdef_index] ); 1049 code_table->lengths [notdef_index] ); 1055 swap_table->lengths [0] ); 1061 swap_table->lengths [1] ); 1067 swap_table->lengths [2] ); 1073 swap_table->lengths [3] ); [all...] |
/external/tensorflow/tensorflow/python/ops/ragged/ |
ragged_util.py | 235 def lengths_to_splits(lengths): 236 """Returns splits corresponding to the given lengths.""" 237 return array_ops.concat([[0], math_ops.cumsum(lengths)], axis=-1)
|
/external/freetype/src/type1/ |
t1load.c | [all...] |
/external/deqp/framework/opengl/ |
gluShaderProgram.cpp | 65 void Shader::setSources (int numSourceStrings, const char* const* sourceStrings, const int* lengths) 67 m_gl.shaderSource(m_shader, numSourceStrings, sourceStrings, lengths); 73 const size_t length = lengths && lengths[ndx] >= 0 ? lengths[ndx] : strlen(sourceStrings[ndx]);
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
list_ops_test.py | [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ReduceTest.java | 543 fail("expected RSRuntimeException for mismatched array input lengths"); 664 final int[] lengths = new int[]{ 10, 100, 1000 }; local 666 // try all pairwise combinations of lengths; we don't care 668 // whether or not the input Allocations have the same lengths. 669 for (int len1idx = 0; len1idx < lengths.length; ++len1idx) { 670 for (int len2idx = 0; len2idx < lengths.length; ++len2idx) { 671 for (int len3idx = 0; len3idx < lengths.length; ++len3idx) { 673 final byte[] input1 = createInputArrayByte(lengths[len1idx], 19); 674 final float[] input2 = createInputArrayFloat(lengths[len2idx], 20); 676 final int[] input3 = createInputArrayInt(3 * lengths[len3idx], 21) [all...] |
/external/freetype/src/bdf/ |
bdfdrivr.c | 208 size_t nn, len, lengths[4]; local 248 lengths[nn] = 0; 251 lengths[nn] = ft_strlen( strings[nn] ); 252 len += lengths[nn] + 1; 259 lengths[0] = ft_strlen( strings[0] ); 260 len = lengths[0] + 1; 277 len = lengths[nn];
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
UCharacterName.java | 162 * Reads a block of compressed lengths of 32 strings and expands them into 163 * offsets and lengths for each string. Lengths are stored with a 168 * The offsets and lengths arrays must be at least 33 (one more) long 173 * @param lengths array to store the value of the string length 174 * @return next index of the data string immediately after the lengths 177 public int getGroupLengths(int index, char offsets[], char lengths[]) 190 // all 32 lengths must be read to get the offset of the first group 204 lengths[i] = (char)((length | n) + 12); 207 lengths[i] = (char)n 1554 char lengths[] = new char[LINES_PER_GROUP_ + 2]; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
UCharacterName.java | 161 * Reads a block of compressed lengths of 32 strings and expands them into 162 * offsets and lengths for each string. Lengths are stored with a 167 * The offsets and lengths arrays must be at least 33 (one more) long 172 * @param lengths array to store the value of the string length 173 * @return next index of the data string immediately after the lengths 176 public int getGroupLengths(int index, char offsets[], char lengths[]) 189 // all 32 lengths must be read to get the offset of the first group 203 lengths[i] = (char)((length | n) + 12); 206 lengths[i] = (char)n 1553 char lengths[] = new char[LINES_PER_GROUP_ + 2]; local [all...] |
/external/tensorflow/tensorflow/contrib/seq2seq/python/kernel_tests/ |
beam_search_decoder_test.py | 271 lengths=constant_op.constant( 307 self.assertAllEqual(next_state_.lengths, [[3, 3, 3], [3, 3, 3]]) 328 lengths=ops.convert_to_tensor( 364 self.assertAllEqual(next_state_.lengths, [[1, 3, 3], [3, 1, 3]]) 431 lengths=_lengths, 471 self.assertEqual((next_state_.lengths[:, :-3] > 0).all(), True) 472 self.assertAllEqual(next_state_.lengths[:, -3:], [[0, 0, 0], [0, 0, 0]])
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
DateTimePatternGenerator.java | 49 * a pattern which just includes the desired fields and lengths. The generator 604 // Handle special mappings for 'j' and 'C' in which fields lengths 2382 private byte[] lengths = new byte[TYPE_LIMIT]; field in class:DateTimePatternGenerator.SkeletonFields [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
DateTimePatternGenerator.java | 48 * a pattern which just includes the desired fields and lengths. The generator 607 // Handle special mappings for 'j' and 'C' in which fields lengths 2405 private byte[] lengths = new byte[TYPE_LIMIT]; field in class:DateTimePatternGenerator.SkeletonFields [all...] |
/external/mtpd/ |
pptp.c | 62 static uint8_t lengths[] = { variable 141 uint16_t length = lengths[message]; 439 if (incoming.length < lengths[incoming.message]) {
|
/external/brotli/c/enc/ |
block_splitter_inc.h | 333 m, uint32_t, split->lengths, split->lengths_alloc_size, num_blocks); 345 split->lengths[block_idx] = cur_length; 380 split->lengths, split->lengths_alloc_size, split->num_blocks + 1); 384 split->lengths[split->num_blocks] = (uint32_t)length;
|
/external/curl/lib/ |
smb.h | 146 unsigned short lengths[2]; member in struct:smb_setup
|