Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/lib/random/
Ddistribution_sampler.h46 class DistributionSampler {
48 explicit DistributionSampler(const gtl::ArraySlice<float>& weights);
50 ~DistributionSampler() {} in ~DistributionSampler()
88 TF_DISALLOW_COPY_AND_ASSIGN(DistributionSampler);
Ddistribution_sampler.cc24 DistributionSampler::DistributionSampler( in DistributionSampler() function in tensorflow::random::DistributionSampler
Ddistribution_sampler_test.cc38 DistributionSampler sampler(weights); in TestWeights()
93 DistributionSampler picker(weights); in BM_DistributionSampler()
/external/tensorflow/tensorflow/core/kernels/
Drange_sampler.cc248 dist_sampler_.reset(new random::DistributionSampler(weights_)); in FixedUnigramSampler()
264 dist_sampler_.reset(new random::DistributionSampler(weights_)); in FixedUnigramSampler()
Dword2vec_kernels.cc258 sampler_ = new random::DistributionSampler(vocab_weights); in NegTrainOp()
350 random::DistributionSampler* sampler_ = nullptr;
Drange_sampler.h229 std::unique_ptr<random::DistributionSampler> dist_sampler_;
Dsdca_internal.cc267 random::DistributionSampler sampler(probabilities_); in SampleAdaptiveProbabilities()