Home
last modified time | relevance | path

Searched refs:num_indices (Results 1 – 25 of 63) sorted by relevance

123

/external/mesa3d/prebuilt-intermediates/nir/
Dnir_intrinsics.c35 .num_indices = 1,
50 .num_indices = 1,
65 .num_indices = 0,
77 .num_indices = 1,
92 .num_indices = 0,
104 .num_indices = 1,
119 .num_indices = 0,
131 .num_indices = 1,
146 .num_indices = 0,
158 .num_indices = 1,
[all …]
/external/tensorflow/tensorflow/core/kernels/fuzzing/
Dscatter_nd_fuzz.cc83 size_t num_indices = 1; in FuzzImpl() local
87 num_indices *= dim; in FuzzImpl()
94 for (i = 0; i < num_indices && data_ix < size; i++) { in FuzzImpl()
97 for (; i < num_indices; i++) { in FuzzImpl()
103 num_indices = 1; in FuzzImpl()
107 num_indices *= indices_dims[i]; in FuzzImpl()
112 num_indices *= flat_shape(i); in FuzzImpl()
118 for (i = 0; i < num_indices; i++) { in FuzzImpl()
/external/flac/src/share/grabbag/
Dcuesheet.c327 if(track->num_indices == 0) { in local__cuesheet_parse_()
335 if(in_index_num != track->indices[track->num_indices-1].number + 1) { in local__cuesheet_parse_()
372 if(is_cdda && cs->num_tracks == 1 && cs->tracks[0].num_indices == 0 && xx != 0) { in local__cuesheet_parse_()
376 …if(is_cdda && track->num_indices > 0 && (FLAC__uint64)xx <= track->indices[track->num_indices-1].o… in local__cuesheet_parse_()
381 if(track->num_indices == 0) in local__cuesheet_parse_()
385 if((FLAC__uint64)xx <= prev->offset + prev->indices[prev->num_indices-1].offset) { in local__cuesheet_parse_()
390 …etadata_object_cuesheet_track_insert_blank_index(cuesheet, cs->num_tracks-1, track->num_indices)) { in local__cuesheet_parse_()
394 track->indices[track->num_indices-1].offset = (FLAC__uint64)xx - track->offset; in local__cuesheet_parse_()
395 track->indices[track->num_indices-1].number = in_index_num; in local__cuesheet_parse_()
428 prev->num_indices == 0 || in local__cuesheet_parse_()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dsegment_reduction_ops_impl.h99 const int64 num_indices = segment_ids.NumElements(); in Compute() local
107 num_indices > 0 in Compute()
108 ? internal::SubtleMustCopy(segment_vec(num_indices - 1)) + 1 in Compute()
120 if (num_indices == 0) return; in Compute()
139 while (end <= num_indices) { in Compute()
144 if (end < num_indices) { in Compute()
199 if (end >= num_indices) break; in Compute()
239 const int64 num_indices = segment_ids.NumElements(); in ComputeAsync() local
241 context, num_indices == input.dim_size(0), in ComputeAsync()
247 if (num_indices == 0) { in ComputeAsync()
[all …]
Dstring_split_op.cc200 std::vector<int64> num_indices(batch_size); in Compute() local
206 num_indices[i] = n_entries; in Compute()
229 for (size_t j = 0; j < num_indices[i]; ++j) { in Compute()
273 std::vector<int64> num_indices(batch_size); in Compute() local
277 num_indices[i] = n_entries; in Compute()
299 for (size_t j = 0; j < num_indices[i]; ++j) { in Compute()
Dctc_loss_op.cc56 int num_indices, int batch_size, in DoHistogram() argument
59 for (int i = 0; i < num_indices; i++) { in DoHistogram()
303 auto num_indices = labels_indices->dim_size(0); in Compute() local
317 DoHistogram<int64>(ctx, labels_indices, num_indices, batch_size, in Compute()
336 num_indices); in Compute()
Dsegment_reduction_ops_impl_1.cc29 const int64 num_indices = segment_ids.NumElements(); in SegmentReductionValidationHelper() local
30 OP_REQUIRES(context, num_indices == input.dim_size(0), in SegmentReductionValidationHelper()
Dtensor_array_ops.cc614 int32 num_indices; in Compute() local
618 OP_REQUIRES_OK(ctx, tensor_array->PackOrConcatSize(&num_indices)); in Compute()
619 indices.resize(num_indices); in Compute()
629 num_indices = tensor_indices->NumElements(); in Compute()
630 indices.resize(num_indices); in Compute()
631 std::copy(indices_t.data(), indices_t.data() + num_indices, in Compute()
637 if (num_indices == 0) { in Compute()
668 output_shape.InsertDim(0, num_indices); in Compute()
679 input_tensors_flat.reserve(num_indices); in Compute()
687 for (int i = 1; i < num_indices; ++i) { in Compute()
/external/tensorflow/tensorflow/compiler/xla/service/
Ddynamic_index_splitter.cc48 int64 num_indices = dynamic_op->operand(0)->shape().rank(); in Run() local
50 if (num_indices == 0) { in Run()
74 for (int64 dim = 0; dim < num_indices; ++dim) { in Run()
/external/icing/icing/tokenization/reverse_jni/
Dreverse-jni-break-iterator.cc164 jint num_indices = jni_cache_->GetEnv()->GetArrayLength(break_indices.get()); in FetchNextBatch() local
165 if (num_indices == 0) { in FetchNextBatch()
171 for (int i = 0; i < num_indices; ++i) { in FetchNextBatch()
177 return num_indices; in FetchNextBatch()
/external/tensorflow/tensorflow/lite/kernels/
Dsparse_to_dense.cc87 const int num_indices, in GetIndicesVector() argument
94 for (int i = 0; i < num_indices; ++i) { in GetIndicesVector()
103 for (int i = 0; i < num_indices; ++i) { in GetIndicesVector()
223 const int num_indices = SizeOfDimension(indices, 0); in SparseToDenseImpl() local
226 indices_vector.reserve(num_indices); in SparseToDenseImpl()
227 TF_LITE_ENSURE_OK(context, GetIndicesVector<TI>(context, indices, num_indices, in SparseToDenseImpl()
/external/flac/src/test_libFLAC/
Dmetadata_object.c71 if(from->num_indices != to->num_indices) { in compare_track_()
72 …_indices mismatch, expected %u, got %u\n", (uint32_t)to->num_indices, (uint32_t)from->num_indices); in compare_track_()
82 for(i = 0; i < to->num_indices; i++) { in compare_track_()
293 track->num_indices = 0; in track_new_()
299 if(track->num_indices > 0) { in track_clone_()
300 size_t bytes = sizeof(FLAC__StreamMetadata_CueSheet_Index) * track->num_indices; in track_clone_()
330 block->length += cs->tracks[i].num_indices * ( in cs_calc_len_()
346 if(tr->num_indices != 0) { in tr_resize_()
358 if(num > tr->num_indices) in tr_resize_()
359 …memset(tr->indices+tr->num_indices, 0, sizeof(FLAC__StreamMetadata_CueSheet_Index)*(num-tr->num_in… in tr_resize_()
[all …]
/external/mesa3d/src/freedreno/.gitlab-ci/reference/
Des2gears-a320.log135 num_indices: 0
430 num_indices: 2
843 num_indices: 7
964 num_indices: 4
1012 num_indices: 7
1060 num_indices: 4
1108 num_indices: 4
1156 num_indices: 4
1204 num_indices: 4
1252 num_indices: 7
[all …]
/external/flac/src/libFLAC/
Dmetadata_object.c151 FLAC__ASSERT(from->num_indices == 0); in copy_track_()
155 FLAC__ASSERT(from->num_indices > 0); in copy_track_()
156 …if ((x = safe_malloc_mul_2op_p(from->num_indices, /*times*/sizeof(FLAC__StreamMetadata_CueSheet_In… in copy_track_()
158 memcpy(x, from->indices, from->num_indices * sizeof(FLAC__StreamMetadata_CueSheet_Index)); in copy_track_()
335 object->length += object->data.cue_sheet.tracks[i].num_indices * ( in cuesheet_calculate_length_()
343 static FLAC__StreamMetadata_CueSheet_Index *cuesheet_track_index_array_new_(uint32_t num_indices) in cuesheet_track_index_array_new_() argument
345 FLAC__ASSERT(num_indices > 0); in cuesheet_track_index_array_new_()
347 return safe_calloc_(num_indices, sizeof(FLAC__StreamMetadata_CueSheet_Index)); in cuesheet_track_index_array_new_()
365 FLAC__ASSERT(object_array[i].num_indices > 0); in cuesheet_track_array_delete_()
404 …FLAC__ASSERT((src->indices != NULL && src->num_indices > 0) || (src->indices == NULL && src->num_i… in cuesheet_set_track_()
[all …]
/external/tensorflow/tensorflow/python/eager/
Dpywrap_gradient_exclusions.cc33 int num_indices; member
45 item.unused_indices.begin() + item.num_indices)); in OpGradientInfoInit()
/external/mesa3d/src/freedreno/decode/
Dcffdec.c1008 __do_query(const char *primtype, uint32_t num_indices) in __do_query() argument
1027 bin_x1, bin_y1, bin_x2, bin_y2, num_indices); in __do_query()
1051 do_query_compare(const char *primtype, uint32_t num_indices) in do_query_compare() argument
1075 __do_query(primtype, num_indices); in do_query_compare()
1082 __do_query(primtype, num_indices); in do_query_compare()
1097 do_query(const char *primtype, uint32_t num_indices) in do_query() argument
1100 script_draw(primtype, num_indices); in do_query()
1103 do_query_compare(primtype, num_indices); in do_query()
1110 __do_query(primtype, num_indices); in do_query()
1853 uint32_t num_indices = dwords[2]; in draw_indx_common() local
[all …]
/external/flac/src/test_libs_common/
Dmetadata_utils.c253 if(blockcopy->tracks[i].num_indices != block->tracks[i].num_indices) { in mutils__compare_block_data_cuesheet()
254 …ted %u, got %u\n", i, (uint32_t)block->tracks[i].num_indices, (uint32_t)blockcopy->tracks[i].num_i… in mutils__compare_block_data_cuesheet()
258 if(block->tracks[i].num_indices > 0) { in mutils__compare_block_data_cuesheet()
278 for(j = 0; j < block->tracks[i].num_indices; j++) { in mutils__compare_block_data_cuesheet()
557 cuesheet->data.cue_sheet.tracks[0].num_indices = 2; in mutils__init_metadata_blocks()
558 ….tracks[0].indices = malloc_or_die_(cuesheet->data.cue_sheet.tracks[0].num_indices * sizeof(FLAC__… in mutils__init_metadata_blocks()
568 cuesheet->data.cue_sheet.tracks[1].num_indices = 1; in mutils__init_metadata_blocks()
569 ….tracks[1].indices = malloc_or_die_(cuesheet->data.cue_sheet.tracks[1].num_indices * sizeof(FLAC__… in mutils__init_metadata_blocks()
574 cuesheet->data.cue_sheet.tracks[2].num_indices = 0; in mutils__init_metadata_blocks()
/external/tensorflow/tensorflow/compiler/tf2xla/lib/
Dscatter.cc61 int64 num_indices = 1; in XlaScatter() local
63 num_indices *= dim; in XlaScatter()
67 if (num_indices == 0) { in XlaScatter()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dgather_op.cc53 int64 num_indices = 1; in XlaGather() local
58 num_indices *= indices_shape.dim_size(i); in XlaGather()
63 num_indices *= indices_shape.dim_size(i); in XlaGather()
68 if (num_indices == 0) { in XlaGather()
/external/mesa3d/src/compiler/nir/
Dnir_serialize.c1147 unsigned num_indices = nir_intrinsic_infos[intrin->intrinsic].num_indices; in write_intrinsic() local
1157 if (num_indices) { in write_intrinsic()
1159 for (unsigned i = 0; i < num_indices; i++) { in write_intrinsic()
1164 if (max_bits * num_indices <= 9) { in write_intrinsic()
1168 unsigned bit_size = 9 / num_indices; in write_intrinsic()
1169 for (unsigned i = 0; i < num_indices; i++) { in write_intrinsic()
1189 if (num_indices) { in write_intrinsic()
1192 for (unsigned i = 0; i < num_indices; i++) in write_intrinsic()
1196 for (unsigned i = 0; i < num_indices; i++) in write_intrinsic()
1200 for (unsigned i = 0; i < num_indices; i++) in write_intrinsic()
[all …]
/external/mesa3d/src/gallium/auxiliary/tessellator/
Dp_tessellator.h44 uint32_t num_indices; member
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_getitem.py383 num_indices = sum(1 for idx in key_list if idx is not array_ops.newaxis)
384 if num_indices > num_remaining_dims + 1:
386 elif num_indices == num_remaining_dims + 1:
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorRef.h200 const std::size_t num_indices = (sizeof...(otherIndices) + 1); in operator() local
201 const array<Index, num_indices> indices{{firstIndex, otherIndices...}}; in operator()
207 const std::size_t num_indices = (sizeof...(otherIndices) + 1); in coeffRef() local
208 const array<Index, num_indices> indices{{firstIndex, otherIndices...}}; in coeffRef()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_composites.cpp43 const uint32_t num_indices = num_words - word_index; in GetExtractInsertValueType() local
46 if (num_indices == 0) { in GetExtractInsertValueType()
51 } else if (num_indices > kCompositeExtractInsertMaxNumIndices) { in GetExtractInsertValueType()
55 << ". Found " << num_indices << " indexes."; in GetExtractInsertValueType()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/
Dvalidate_composites.cpp43 const uint32_t num_indices = num_words - word_index; in GetExtractInsertValueType() local
46 if (num_indices == 0) { in GetExtractInsertValueType()
51 } else if (num_indices > kCompositeExtractInsertMaxNumIndices) { in GetExtractInsertValueType()
55 << ". Found " << num_indices << " indexes."; in GetExtractInsertValueType()

123