Home
last modified time | relevance | path

Searched refs:out_indices (Results 1 – 21 of 21) sorted by relevance

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DAttributeResolution9.java92 int attrs_length, int[] out_values, int[] out_indices) { in ResolveAttrs() argument
223 if (out_indices != null && value.dataType != Res_value.TYPE_NULL) { in ResolveAttrs()
225 out_indices[indicesIdx] = ii; in ResolveAttrs()
231 if (out_indices != null) { in ResolveAttrs()
232 out_indices[0] = indicesIdx; in ResolveAttrs()
239 int[] out_values, int[] out_indices) { in ApplyStyle() argument
422 out_indices[indices_idx] = ii; in ApplyStyle()
441 out_indices[0] = indices_idx; in ApplyStyle()
445 int attrs_length, int[] out_values, int[] out_indices) { in RetrieveAttributes() argument
504 if (out_indices != null && in RetrieveAttributes()
[all …]
DAttributeResolution10.java96 int attrs_length, int[] out_values, int[] out_indices) { in ResolveAttrs() argument
227 if (out_indices != null && value.dataType != Res_value.TYPE_NULL) { in ResolveAttrs()
229 out_indices[indicesIdx] = ii; in ResolveAttrs()
235 if (out_indices != null) { in ResolveAttrs()
236 out_indices[0] = indicesIdx; in ResolveAttrs()
243 int[] out_values, int[] out_indices) { in ApplyStyle() argument
432 out_indices[indices_idx] = ii; in ApplyStyle()
451 out_indices[0] = indices_idx; in ApplyStyle()
455 int attrs_length, int[] out_values, int[] out_indices) { in RetrieveAttributes() argument
514 if (out_indices != null && in RetrieveAttributes()
[all …]
/external/robolectric/resources/src/main/java/org/robolectric/res/android/
DAttributeResolution9.java92 int attrs_length, int[] out_values, int[] out_indices) { in ResolveAttrs() argument
223 if (out_indices != null && value.dataType != Res_value.TYPE_NULL) { in ResolveAttrs()
225 out_indices[indicesIdx] = ii; in ResolveAttrs()
231 if (out_indices != null) { in ResolveAttrs()
232 out_indices[0] = indicesIdx; in ResolveAttrs()
239 int[] out_values, int[] out_indices) { in ApplyStyle() argument
422 out_indices[indices_idx] = ii; in ApplyStyle()
441 out_indices[0] = indices_idx; in ApplyStyle()
445 int attrs_length, int[] out_values, int[] out_indices) { in RetrieveAttributes() argument
504 if (out_indices != null && in RetrieveAttributes()
[all …]
DAttributeResolution10.java95 int attrs_length, int[] out_values, int[] out_indices) { in ResolveAttrs() argument
226 if (out_indices != null && value.dataType != Res_value.TYPE_NULL) { in ResolveAttrs()
228 out_indices[indicesIdx] = ii; in ResolveAttrs()
234 if (out_indices != null) { in ResolveAttrs()
235 out_indices[0] = indicesIdx; in ResolveAttrs()
242 int[] out_values, int[] out_indices) { in ApplyStyle() argument
431 out_indices[indices_idx] = ii; in ApplyStyle()
450 out_indices[0] = indices_idx; in ApplyStyle()
454 int attrs_length, int[] out_values, int[] out_indices) { in RetrieveAttributes() argument
513 if (out_indices != null && in RetrieveAttributes()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Druntime_topk.cc29 const T* values, T* out_values, int32_t* out_indices) { in TopK() argument
63 int32_t* out_indices_batch = out_indices + batch * k; in TopK()
73 float* out_values, int32_t* out_indices) { in __xla_cpu_runtime_TopKF32() argument
74 TopK(batch_size, input_size, k, values, out_values, out_indices); in __xla_cpu_runtime_TopKF32()
Druntime_topk.h27 float* out_values, int32_t* out_indices);
/external/tensorflow/tensorflow/python/kernel_tests/sparse_ops/
Dsparsemask_op_test.py34 out_indices = np.array([2, 3, 4], dtype=np.int32)
48 self.assertAllEqual(tf_out_indices, out_indices)
/external/tensorflow/tensorflow/core/util/
Dbcast.h37 std::vector<int64_t>* out_indices) { in ComputeBatchIndices() argument
43 out_indices->resize(output_batch_size); in ComputeBatchIndices()
53 (*out_indices)[num_output_elements + k] = (*out_indices)[k] + incr; in ComputeBatchIndices()
Dexample_proto_fast_parsing.cc1736 Tensor* out_indices = &result->sparse_indices[d]; in FastParseSingleExample() local
1741 *out_indices = Tensor( in FastParseSingleExample()
1743 auto indices_flat = out_indices->flat<int64_t>(); in FastParseSingleExample()
2379 int64_t* out_indices = in ParseContextSparseFeatures() local
2398 if (is_batch) *out_indices++ = e; in ParseContextSparseFeatures()
2399 *out_indices++ = i; in ParseContextSparseFeatures()
2687 int64_t* out_indices = in ParseSequenceSparseFeatures() local
2736 if (is_batch) *out_indices++ = e; in ParseSequenceSparseFeatures()
2737 *out_indices++ = num_rows; in ParseSequenceSparseFeatures()
2738 *out_indices++ = i; in ParseSequenceSparseFeatures()
/external/tensorflow/tensorflow/compiler/xla/python/
Dpmap_lib.cc68 ResultSpec(py::object aval, ShardingSpec out_spec, py::object out_indices) in ResultSpec()
72 out_indices(std::move(out_indices)) {} in ResultSpec()
76 py::object out_indices; member
400 py::list out_indices = pmap_data.attr("out_indices"); in PopulateCacheEntry() local
403 CHECK_EQ(out_avals.size(), out_indices.size()); in PopulateCacheEntry()
404 CHECK_EQ(out_indices.size(), out_sharding_specs.size()); in PopulateCacheEntry()
409 out_avals[i], std::move(out_sharding_specs[i]), out_indices[i]); in PopulateCacheEntry()
550 /*indices=*/result_spec.out_indices, in Call()
/external/tensorflow/tensorflow/core/kernels/
Dcandidate_sampler_ops.cc238 Tensor* out_indices = nullptr; in Compute() local
242 0, TensorShape({static_cast<int>(indices.size())}), &out_indices)); in Compute()
254 out_indices->vec<int32>()(i) = indices[i]; in Compute()
Ddynamic_partition_op.cc151 Eigen::DSizes<Eigen::DenseIndex, 2> out_indices(oi, 0); in Compute() local
153 out_flat[p].slice(out_indices, sizes) = in Compute()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscAssetManager9.java1337 int[] out_indices = (int[])shadowVMRuntime.getObjectForAddress(out_indices_ptr); in nativeApplyStyle() local
1347 out_values, out_indices); in nativeApplyStyle()
1391 int[] out_indices = null; in nativeResolveAttrs() local
1395 out_indices = out_java_indices; in nativeResolveAttrs()
1397 if (out_indices == null) { in nativeResolveAttrs()
1416 attrs_len, out_values, out_indices); in nativeResolveAttrs()
1453 int[] out_indices = null; in nativeRetrieveAttributes() local
1457 out_indices = out_java_indices; in nativeRetrieveAttributes()
1459 if (out_indices == null) { in nativeRetrieveAttributes()
1473 out_indices); in nativeRetrieveAttributes()
DShadowArscAssetManager10.java1341 int[] out_indices = (int[])shadowVMRuntime.getObjectForAddress(out_indices_ptr); in nativeApplyStyle() local
1351 out_values, out_indices); in nativeApplyStyle()
1395 int[] out_indices = null; in nativeResolveAttrs() local
1399 out_indices = out_java_indices; in nativeResolveAttrs()
1401 if (out_indices == null) { in nativeResolveAttrs()
1420 attrs_len, out_values, out_indices); in nativeResolveAttrs()
1457 int[] out_indices = null; in nativeRetrieveAttributes() local
1461 out_indices = out_java_indices; in nativeRetrieveAttributes()
1463 if (out_indices == null) { in nativeRetrieveAttributes()
1477 out_indices); in nativeRetrieveAttributes()
/external/tensorflow/tensorflow/examples/speech_commands/
Dlabel_wav.cc75 Tensor* out_indices, Tensor* out_scores) { in GetTopLabels() argument
95 *out_indices = sorted_indices; in GetTopLabels()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscAssetManager10.java1429 int[] out_indices = (int[]) shadowVMRuntime.getObjectForAddress(out_indices_ptr); in nativeApplyStyle_measured() local
1446 out_indices); in nativeApplyStyle_measured()
1499 int[] out_indices = null; in nativeResolveAttrs() local
1503 out_indices = out_java_indices; in nativeResolveAttrs()
1505 if (out_indices == null) { in nativeResolveAttrs()
1531 out_indices); in nativeResolveAttrs()
1574 int[] out_indices = null; in nativeRetrieveAttributes() local
1578 out_indices = out_java_indices; in nativeRetrieveAttributes()
1580 if (out_indices == null) { in nativeRetrieveAttributes()
1592 RetrieveAttributes(assetmanager, xml_parser, attrs, attrs_len, out_values, out_indices); in nativeRetrieveAttributes()
DShadowArscAssetManager9.java1418 int[] out_indices = (int[]) shadowVMRuntime.getObjectForAddress(out_indices_ptr); in nativeApplyStyle_measured() local
1435 out_indices); in nativeApplyStyle_measured()
1488 int[] out_indices = null; in nativeResolveAttrs() local
1492 out_indices = out_java_indices; in nativeResolveAttrs()
1494 if (out_indices == null) { in nativeResolveAttrs()
1520 out_indices); in nativeResolveAttrs()
1563 int[] out_indices = null; in nativeRetrieveAttributes() local
1567 out_indices = out_java_indices; in nativeRetrieveAttributes()
1569 if (out_indices == null) { in nativeRetrieveAttributes()
1581 RetrieveAttributes(assetmanager, xml_parser, attrs, attrs_len, out_values, out_indices); in nativeRetrieveAttributes()
/external/mesa3d/src/mesa/main/
Dglthread_draw.c83 const GLvoid **out_indices) in upload_multi_indices() argument
102 out_indices[i] = (const GLvoid*)(intptr_t)(upload_offset + offset); in upload_multi_indices()
933 const GLvoid **out_indices = alloca(sizeof(indices[0]) * draw_count); in _mesa_marshal_MultiDrawElementsBaseVertex() local
937 out_indices); in _mesa_marshal_MultiDrawElementsBaseVertex()
938 indices = out_indices; in _mesa_marshal_MultiDrawElementsBaseVertex()
/external/tensorflow/tensorflow/python/ops/
Dsparse_ops.py2744 out_indices, out_values = gen_sparse_ops.sparse_sparse_maximum(
2752 return sparse_tensor.SparseTensor(out_indices, out_values, sp_a.dense_shape)
2788 out_indices, out_values = gen_sparse_ops.sparse_sparse_minimum(
2796 return sparse_tensor.SparseTensor(out_indices, out_values, sp_a.dense_shape)
Darray_ops.py2017 out_indices, to_gather = gen_array_ops.list_diff(indices, mask_indices)
2019 return indexed_slices.IndexedSlices(out_values, out_indices, a.dense_shape)
/external/tensorflow/tensorflow/python/kernel_tests/data_structures/
Dlookup_ops_test.py273 out_indices, out_values, out_shape = self.evaluate(output)
276 self.assertAllEqual(sp_indices, out_indices)