Home
last modified time | relevance | path

Searched refs:index_vector_ (Results 1 – 4 of 4) sorted by relevance

/external/perfetto/src/trace_processor/containers/
Drow_map.h96 operator bool() const { return ordinal_ < rm_->index_vector_.size(); }
98 uint32_t index() const { return rm_->index_vector_[ordinal_]; } in index()
249 return static_cast<uint32_t>(index_vector_.size()); in size()
281 auto it = std::find(index_vector_.begin(), index_vector_.end(), row); in Contains()
282 return it != index_vector_.end(); in Contains()
302 auto it = std::find(index_vector_.begin(), index_vector_.end(), row); in IndexOf()
303 return it != index_vector_.end() in IndexOf()
305 std::distance(index_vector_.begin(), it))) in IndexOf()
348 std::is_sorted(index_vector_.begin(), index_vector_.end())); in Insert()
350 std::upper_bound(index_vector_.begin(), index_vector_.end(), row); in Insert()
[all …]
Drow_map.cc157 : mode_(Mode::kIndexVector), index_vector_(std::move(vec)) {} in RowMap()
166 return RowMap(index_vector_); in Copy()
185 return SelectIvWithRange(index_vector_, selector.start_idx_, in SelectRowsSlow()
196 return SelectIvWithBv(index_vector_, selector.bit_vector_); in SelectRowsSlow()
203 selector.index_vector_); in SelectRowsSlow()
205 return SelectBvWithIv(bit_vector_, selector.index_vector_); in SelectRowsSlow()
207 return SelectIvWithIv(index_vector_, selector.index_vector_); in SelectRowsSlow()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator.cc1525 index_vector_.resize(index_vector_size); in OutputBatchIndexToInputIndex()
1575 for (int64 i = 0, e = index_vector_.size(); i < e; i++) { in FetchIndexVector()
1579 index_vector_[i] = *start_index; in FetchIndexVector()
1588 input_index_[i] = index_vector_[input_dim_value_to_index_vector_[i]]; in PropagateIndexVectorToInputIndex()
1610 std::vector<int64> index_vector_; member in xla::OutputBatchIndexToInputIndex
Dhlo_evaluator_typed_visitor.h2153 index_vector_.resize(index_vector_size);
2203 for (int64 i = 0, e = index_vector_.size(); i < e; i++) {
2205 index_vector_[i] =
2215 input_index_[i] = index_vector_[input_dim_value_to_index_vector_[i]];
2237 std::vector<int64> index_vector_;