/external/tensorflow/tensorflow/core/kernels/ |
D | range_sampler_test.cc | 36 for (int i = 0; i < sampler_->range(); i++) { in CheckProbabilitiesSumToOne() 37 sum += sampler_->Probability(i); in CheckProbabilitiesSumToOne() 42 const int range = sampler_->range(); in CheckHistogram() 48 sampler_->SampleBatch(&rnd, false, &a); in CheckHistogram() 56 EXPECT_NEAR((h[val] + 0.0) / num_samples, sampler_->Probability(val), in CheckHistogram() 66 sampler_->Update(a); in Update1() 75 sampler_->Update(ArraySlice<int64>(a + i, 10 - i)); in Update2() 78 std::unique_ptr<RangeSampler> sampler_; member in tensorflow::__anonbb2546200111::RangeSamplerTest 82 sampler_.reset(new UniformSampler(10)); in TEST_F() 84 CHECK_EQ(sampler_->Probability(i), sampler_->Probability(0)); in TEST_F() [all …]
|
D | candidate_sampler_ops.cc | 52 CHECK(sampler_) << "CandidateSamplerOp did not set sampler_"; in Compute() 55 OP_REQUIRES(context, num_sampled_ <= sampler_->range(), in Compute() 92 sampler_->SampleBatchGetExpectedCount(&random, unique_, &sampled_candidate, in Compute() 96 if (sampler_->NeedsUpdates()) { in Compute() 97 sampler_->Update(true_candidate); in Compute() 102 void set_sampler(RangeSampler* sampler) { sampler_.reset(sampler); } in set_sampler() 108 std::unique_ptr<RangeSampler> sampler_; member in tensorflow::BaseCandidateSamplerOp
|
D | word2vec_kernels.cc | 257 sampler_ = new random::DistributionSampler(vocab_weights); in NegTrainOp() 260 ~NegTrainOp() override { delete sampler_; } in ~NegTrainOp() 287 OP_REQUIRES(ctx, vocab_size == sampler_->num(), in Compute() 289 " vs. ", sampler_->num())); in Compute() 333 const int sample = sampler_->Sample(&srnd); in Compute() 349 random::DistributionSampler* sampler_ = nullptr; member in tensorflow::NegTrainOp
|
/external/v8/src/profiler/ |
D | cpu-profiler.cc | 47 sampler_(new CpuSampler(isolate, this)), in ProfilerEventsProcessor() 52 sampler_->IncreaseProfilingDepth(); in ProfilerEventsProcessor() 56 sampler_->DecreaseProfilingDepth(); in ~ProfilerEventsProcessor() 175 if (sampler_) sampler_->DoSample(); in Run()
|
D | cpu-profiler.h | 160 sampler::Sampler* sampler() { return sampler_.get(); } in sampler() 174 std::unique_ptr<sampler::Sampler> sampler_; variable
|
/external/vulkan-validation-layers/layers/ |
D | descriptor_sets.h | 217 VkSampler GetSampler() const { return sampler_; } in GetSampler() 221 VkSampler sampler_; 232 VkSampler GetSampler() const { return sampler_; } in GetSampler() 237 VkSampler sampler_;
|
D | descriptor_sets.cpp | 875 cvdescriptorset::SamplerDescriptor::SamplerDescriptor(const VkSampler *immut) : sampler_(VK_NULL_HA… in SamplerDescriptor() 879 sampler_ = *immut; in SamplerDescriptor() 1076 sampler_ = update->pImageInfo[index].sampler; in WriteUpdate() 1082 auto update_sampler = static_cast<const SamplerDescriptor *>(src)->sampler_; in CopyUpdate() 1083 sampler_ = update_sampler; in CopyUpdate() 1090 auto sampler_state = GetSamplerState(dev_data, sampler_); in BindCommandBuffer() 1096 …: sampler_(VK_NULL_HANDLE), immutable_(false), image_view_(VK_NULL_HANDLE), image_layout_(VK_IMAGE… in ImageSamplerDescriptor() 1100 sampler_ = *immut; in ImageSamplerDescriptor() 1108 sampler_ = image_info.sampler; in WriteUpdate() 1115 auto update_sampler = static_cast<const ImageSamplerDescriptor *>(src)->sampler_; in CopyUpdate() [all …]
|
/external/deqp/framework/opengl/ |
D | gluTextureTestUtil.hpp | 132 …ReferenceParams (TextureType texType_, const tcu::Sampler& sampler_, LodMode lodMode_ = LODMODE_EX… in ReferenceParams() 134 , sampler (sampler_) in ReferenceParams()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderTextureFunctionTests.cpp | 150 const tcu::Sampler& sampler_) in TextureSpec() 157 , sampler (sampler_) in TextureSpec()
|
/external/v8/src/ |
D | log.cc | 530 sampler_(sampler), in SamplingThread() 533 while (sampler_->IsProfiling()) { in Run() 534 sampler_->DoSample(); in Run() 540 sampler::Sampler* sampler_; member in v8::internal::SamplingThread
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderTextureFunctionTests.cpp | 206 const tcu::Sampler& sampler_) in TextureSpec() 213 , sampler (sampler_) in TextureSpec()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderTextureFunctionTests.cpp | 217 const tcu::Sampler& sampler_) in TextureSpec() 224 , sampler (sampler_) in TextureSpec()
|
/external/vulkan-validation-layers/include/vulkan/ |
D | vulkan.hpp | 5632 …DescriptorImageInfo( Sampler sampler_ = Sampler(), ImageView imageView_ = ImageView(), ImageLayout… in DescriptorImageInfo() 5633 : sampler( sampler_ ) in DescriptorImageInfo() 5649 DescriptorImageInfo& setSampler( Sampler sampler_ ) in setSampler() 5651 sampler = sampler_; in setSampler()
|