/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/ |
D | weighted_quantiles_buffer.h | 58 vec_.reserve(max_size_); in WeightedQuantilesBuffer() 81 vec_.push_back(BufferEntry(std::move(value), std::move(weight))); in PushEntry() 89 if (vec_.size() == 0) { in GenerateEntryList() 92 ret.swap(vec_); in GenerateEntryList() 93 vec_.reserve(max_size_); in GenerateEntryList() 109 int64 Size() const { return vec_.size(); } in Size() 110 bool IsFull() const { return vec_.size() >= max_size_; } in IsFull() 111 void Clear() { vec_.clear(); } in Clear() 121 BufferVector vec_; variable
|
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/quantiles/ |
D | weighted_quantiles_buffer.h | 58 vec_.reserve(max_size_); in WeightedQuantilesBuffer() 81 vec_.push_back(BufferEntry(std::move(value), std::move(weight))); in PushEntry() 89 if (vec_.size() == 0) { in GenerateEntryList() 92 ret.swap(vec_); in GenerateEntryList() 93 vec_.reserve(max_size_); in GenerateEntryList() 109 int64 Size() const { return vec_.size(); } in Size() 110 bool IsFull() const { return vec_.size() >= max_size_; } in IsFull() 111 void Clear() { vec_.clear(); } in Clear() 121 BufferVector vec_; variable
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | buffer_liveness_test.cc | 98 builder.AddInstruction(HloInstruction::CreateParameter(0, vec_, "param")); in BuildDummyComputation() 102 const Shape vec_ = ShapeUtil::MakeShape(xla::F32, {42}); member in xla::__anon7330e7b10111::BufferLivenessTest 112 builder.AddInstruction(HloInstruction::CreateParameter(0, vec_, "param")); in TEST_F() 114 HloInstruction::CreateUnary(vec_, HloOpcode::kNegate, param)); in TEST_F() 116 HloInstruction::CreateUnary(vec_, HloOpcode::kExp, negate)); in TEST_F() 118 HloInstruction::CreateUnary(vec_, HloOpcode::kLog, exp)); in TEST_F() 157 HloInstruction::CreateParameter(0, vec_, "param0")); in TEST_F() 159 HloInstruction::CreateParameter(1, vec_, "param1")); in TEST_F() 161 HloInstruction::CreateUnary(vec_, HloOpcode::kNegate, param0)); in TEST_F() 163 HloInstruction::CreateUnary(vec_, HloOpcode::kExp, param1)); in TEST_F() [all …]
|
/external/perfetto/src/base/ |
D | no_destructor_unittest.cc | 50 : vec_(v), ptr_(std::move(p)) {} in NonTrivial() 52 std::vector<int> vec_; member in perfetto::base::__anond89615d10111::NonTrivial 60 ASSERT_THAT(x.ref().vec_, ::testing::ElementsAre(1, 2, 3)); in TEST() 63 x.ref().vec_ = {4, 5, 6}; in TEST() 64 ASSERT_THAT(x.ref().vec_, ::testing::ElementsAre(4, 5, 6)); in TEST()
|
/external/flatbuffers/include/flatbuffers/ |
D | reflection.h | 358 vec_(vec) {} in pointer_inside_vector() 362 reinterpret_cast<uint8_t *>(flatbuffers::vector_data(vec_)) + offset_); 369 std::vector<U> &vec_; variable
|
/external/tensorflow/tensorflow/python/ops/distributions/ |
D | transformed_distribution.py | 84 return constant_op.constant([x_ for vec_ in args_ for x_ in vec_])
|
/external/mesa3d/include/CL/ |
D | cl.hpp | 569 vector<T,N> vec_; member in cl::vector::iterator 591 i.vec_ = vec; in begin() 603 i.vec_ = vec; in end() 610 return ((vec_ == i.vec_) && in operator ==() 642 return vec_[index_]; in operator *()
|