Searched refs:sampler_ (Results 1 - 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
H A Drange_sampler_test.cc36 for (int i = 0; i < sampler_->range(); i++) {
37 sum += sampler_->Probability(i);
42 const int range = sampler_->range();
48 sampler_->SampleBatch(&rnd, false, &a);
56 EXPECT_NEAR((h[val] + 0.0) / num_samples, sampler_->Probability(val),
66 sampler_->Update(a);
75 sampler_->Update(ArraySlice<int64>(a + i, 10 - i));
78 std::unique_ptr<RangeSampler> sampler_; member in class:tensorflow::__anon26568::RangeSamplerTest
82 sampler_.reset(new UniformSampler(10));
84 CHECK_EQ(sampler_
[all...]
H A Dcandidate_sampler_ops.cc52 CHECK(sampler_) << "CandidateSamplerOp did not set sampler_";
55 OP_REQUIRES(context, num_sampled_ <= sampler_->range(),
92 sampler_->SampleBatchGetExpectedCount(&random, unique_, &sampled_candidate,
96 if (sampler_->NeedsUpdates()) {
97 sampler_->Update(true_candidate);
102 void set_sampler(RangeSampler* sampler) { sampler_.reset(sampler); }
108 std::unique_ptr<RangeSampler> sampler_; member in class:tensorflow::BaseCandidateSamplerOp
H A Dword2vec_kernels.cc257 sampler_ = new random::DistributionSampler(vocab_weights);
260 ~NegTrainOp() override { delete sampler_; }
287 OP_REQUIRES(ctx, vocab_size == sampler_->num(),
289 " vs. ", sampler_->num()));
333 const int sample = sampler_->Sample(&srnd);
349 random::DistributionSampler* sampler_ = nullptr; member in class:tensorflow::NegTrainOp
/external/v8/src/profiler/
H A Dcpu-profiler.cc47 sampler_(new CpuSampler(isolate, this)),
52 sampler_->IncreaseProfilingDepth();
56 sampler_->DecreaseProfilingDepth();
174 // Schedule next sample. sampler_ is NULL in tests.
175 if (sampler_) sampler_->DoSample();
H A Dcpu-profiler.h160 sampler::Sampler* sampler() { return sampler_.get(); }
174 std::unique_ptr<sampler::Sampler> sampler_; member in class:v8::internal::ProfilerEventsProcessor
/external/vulkan-validation-layers/layers/
H A Ddescriptor_sets.h217 VkSampler GetSampler() const { return sampler_; }
221 VkSampler sampler_; member in class:cvdescriptorset::SamplerDescriptor
232 VkSampler GetSampler() const { return sampler_; }
237 VkSampler sampler_; member in class:cvdescriptorset::ImageSamplerDescriptor
H A Ddescriptor_sets.cpp875 cvdescriptorset::SamplerDescriptor::SamplerDescriptor(const VkSampler *immut) : sampler_(VK_NULL_HANDLE), immutable_(false) {
879 sampler_ = *immut;
1076 sampler_ = update->pImageInfo[index].sampler;
1082 auto update_sampler = static_cast<const SamplerDescriptor *>(src)->sampler_;
1083 sampler_ = update_sampler;
1090 auto sampler_state = GetSamplerState(dev_data, sampler_);
1096 : sampler_(VK_NULL_HANDLE), immutable_(false), image_view_(VK_NULL_HANDLE), image_layout_(VK_IMAGE_LAYOUT_UNDEFINED) {
1100 sampler_ = *immut;
1108 sampler_ = image_info.sampler;
1115 auto update_sampler = static_cast<const ImageSamplerDescriptor *>(src)->sampler_;
[all...]
/external/deqp/framework/opengl/
H A DgluTextureTestUtil.hpp132 ReferenceParams (TextureType texType_, const tcu::Sampler& sampler_, LodMode lodMode_ = LODMODE_EXACT) argument
134 , sampler (sampler_)
/external/v8/src/
H A Dlog.cc530 sampler_(sampler),
533 while (sampler_->IsProfiling()) {
534 sampler_->DoSample();
540 sampler::Sampler* sampler_; member in class:v8::internal::SamplingThread
/external/deqp/modules/gles2/functional/
H A Des2fShaderTextureFunctionTests.cpp150 const tcu::Sampler& sampler_)
157 , sampler (sampler_)
144 TextureSpec(TextureType type_, deUint32 format_, deUint32 dataType_, int width_, int height_, int numLevels_, const tcu::Sampler& sampler_) argument
/external/deqp/modules/gles3/functional/
H A Des3fShaderTextureFunctionTests.cpp206 const tcu::Sampler& sampler_)
213 , sampler (sampler_)
200 TextureSpec(TextureType type_, deUint32 format_, int width_, int height_, int depth_, int numLevels_, const tcu::Sampler& sampler_) argument
/external/vulkan-validation-layers/include/vulkan/
H A Dvulkan.hpp5632 DescriptorImageInfo( Sampler sampler_ = Sampler(), ImageView imageView_ = ImageView(), ImageLayout imageLayout_ = ImageLayout::eUndefined )
5633 : sampler( sampler_ )
5649 DescriptorImageInfo& setSampler( Sampler sampler_ )
5651 sampler = sampler_;
[all...]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderTextureFunctionTests.cpp217 const tcu::Sampler& sampler_)
224 , sampler (sampler_)
211 TextureSpec(TextureType type_, deUint32 format_, int width_, int height_, int depth_, int numLevels_, const tcu::Sampler& sampler_) argument

Completed in 3138 milliseconds