Searched refs:DistributionSampler (Results 1 – 11 of 11) sorted by relevance
46 class DistributionSampler {48 explicit DistributionSampler(const gtl::ArraySlice<float>& weights);50 ~DistributionSampler() {} in ~DistributionSampler()88 TF_DISALLOW_COPY_AND_ASSIGN(DistributionSampler);
24 DistributionSampler::DistributionSampler( in DistributionSampler() function in tensorflow::random::DistributionSampler
38 DistributionSampler sampler(weights); in TestWeights()93 DistributionSampler picker(weights); in BM_DistributionSampler()
245 dist_sampler_.reset(new random::DistributionSampler(weights_)); in FixedUnigramSampler()261 dist_sampler_.reset(new random::DistributionSampler(weights_)); in FixedUnigramSampler()
257 sampler_ = new random::DistributionSampler(vocab_weights); in NegTrainOp()349 random::DistributionSampler* sampler_ = nullptr;
229 std::unique_ptr<random::DistributionSampler> dist_sampler_;
267 random::DistributionSampler sampler(probabilities_); in SampleAdaptiveProbabilities()
217 int BootstrapGini(int n, int s, const random::DistributionSampler& ds, in BootstrapGini()277 random::DistributionSampler ds1(weights1); in BestSplitDominatesClassificationBootstrap()282 random::DistributionSampler ds2(weights2); in BestSplitDominatesClassificationBootstrap()
65 int BootstrapGini(int n, int s, const random::DistributionSampler& ds,
37 random::DistributionSampler sampler(distribution_weight); in RangeEncodeDecodeTest()
356 random::DistributionSampler ds1(weights1); in CheckFinishEarlyBootstrap()360 random::DistributionSampler ds2(weights2); in CheckFinishEarlyBootstrap()