Home
last modified time | relevance | path

Searched refs:DistributionSampler (Results 1 – 11 of 11) 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.cc245 dist_sampler_.reset(new random::DistributionSampler(weights_)); in FixedUnigramSampler()
261 dist_sampler_.reset(new random::DistributionSampler(weights_)); in FixedUnigramSampler()
Dword2vec_kernels.cc257 sampler_ = new random::DistributionSampler(vocab_weights); in NegTrainOp()
349 random::DistributionSampler* sampler_ = nullptr;
Drange_sampler.h229 std::unique_ptr<random::DistributionSampler> dist_sampler_;
Dsdca_internal.cc267 random::DistributionSampler sampler(probabilities_); in SampleAdaptiveProbabilities()
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/
Dtree_utils.cc217 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()
Dtree_utils.h65 int BootstrapGini(int n, int s, const random::DistributionSampler& ds,
/external/tensorflow/tensorflow/contrib/coder/kernels/
Drange_coder_test.cc37 random::DistributionSampler sampler(distribution_weight); in RangeEncodeDecodeTest()
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/
Dgrow_stats.cc356 random::DistributionSampler ds1(weights1); in CheckFinishEarlyBootstrap()
360 random::DistributionSampler ds2(weights2); in CheckFinishEarlyBootstrap()