Home
last modified time | relevance | path

Searched refs:vec_ (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/
Dweighted_quantiles_buffer.h58 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/
Dweighted_quantiles_buffer.h58 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/
Dbuffer_liveness_test.cc98 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/
Dno_destructor_unittest.cc50 : 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/
Dreflection.h358 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/
Dtransformed_distribution.py84 return constant_op.constant([x_ for vec_ in args_ for x_ in vec_])
/external/mesa3d/include/CL/
Dcl.hpp569 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 *()