/external/tensorflow/tensorflow/core/kernels/ |
D | range_sampler.h | 43 virtual int64 Sample(random::SimplePhilox* rnd) const = 0; 52 void SampleBatch(random::SimplePhilox* rnd, bool unique, 75 random::SimplePhilox* rnd, bool unique, 86 random::SimplePhilox* rnd, bool unique, 116 int64 Sample(random::SimplePhilox* rnd) const override { in Sample() 127 random::SimplePhilox* rnd, bool unique, 141 int64 Sample(random::SimplePhilox* rnd) const override; 155 int64 Sample(random::SimplePhilox* rnd) const override; 169 int64 Sample(random::SimplePhilox* rnd) const override; 186 int64 Sample(random::SimplePhilox* rnd) const override; [all …]
|
D | range_sampler.cc | 37 void RangeSampler::SampleBatch(random::SimplePhilox* rnd, bool unique, in SampleBatch() 45 random::SimplePhilox* rnd, bool unique, gtl::MutableArraySlice<int64> batch, in SampleBatchGetExpectedCount() 78 random::SimplePhilox* rnd, bool unique, MutableArraySlice<int64> batch, in SampleBatchGetExpectedCountAvoid() 125 random::SimplePhilox* rnd, bool unique, MutableArraySlice<int64> batch, in SampleBatchGetExpectedCountAvoid() 150 int64 UniformSampler::Sample(random::SimplePhilox* rnd) const { in Sample() 159 int64 LogUniformSampler::Sample(random::SimplePhilox* rnd) const { in Sample() 182 int64 ThreadUnsafeUnigramSampler::Sample(random::SimplePhilox* rnd) const { in Sample() 205 int64 UnigramSampler::Sample(random::SimplePhilox* rnd) const { in Sample() 217 random::SimplePhilox* rnd, bool unique, MutableArraySlice<int64> batch, in SampleBatchGetExpectedCountAvoid() 271 int64 FixedUnigramSampler::Sample(random::SimplePhilox* rnd) const { in Sample()
|
D | lrn_op_test.cc | 92 random::SimplePhilox rand_; 159 static double RndGaussian(random::SimplePhilox* rnd) { in RndGaussian()
|
/external/tensorflow/tensorflow/core/lib/random/ |
D | simple_philox_test.cc | 31 SimplePhilox gen(&philox); in TEST() 45 static void DifferenceTest(const char *names, SimplePhilox *gen1, in DifferenceTest() 46 SimplePhilox *gen2) { in DifferenceTest() 60 SimplePhilox gen1(&philox1), gen2(&philox2); in TEST() 67 SimplePhilox gen1(&philox1), gen2(&philox2); in TEST() 77 SimplePhilox gen1(&philox1), gen2(&philox2); in TEST() 97 SimplePhilox gen(&philox); in TEST() 116 SimplePhilox gen(&philox); in TEST()
|
D | weighted_picker_test.cc | 31 static void TestPicker(SimplePhilox* rnd, int size); 32 static void CheckUniform(SimplePhilox* rnd, WeightedPicker* picker, int trials); 33 static void CheckSkewed(SimplePhilox* rnd, WeightedPicker* picker, int trials); 38 SimplePhilox rnd(&philox); in TEST() 94 SimplePhilox rnd(&philox); in TEST() 109 SimplePhilox rnd(&philox); in TEST() 121 static void TestPicker(SimplePhilox* rnd, int size) { in TestPicker() 183 static void CheckUniform(SimplePhilox* rnd, WeightedPicker* picker, in CheckUniform() 203 static void CheckSkewed(SimplePhilox* rnd, WeightedPicker* picker, int trials) { in CheckSkewed() 258 SimplePhilox rnd(&philox); in BM_Pick()
|
D | simple_philox.cc | 23 uint32 SimplePhilox::Uniform(uint32 n) { in Uniform() 27 uint64 SimplePhilox::Uniform64(uint64 n) { in Uniform64() 31 uint32 SimplePhilox::Skewed(int max_log) { in Skewed()
|
D | simple_philox.h | 30 class SimplePhilox { 33 explicit SimplePhilox(PhiloxRandom* gen) : single_(gen) {} in SimplePhilox() function
|
D | weighted_picker.h | 39 class SimplePhilox; variable 52 int Pick(SimplePhilox* rnd) const;
|
D | distribution_sampler_test.cc | 40 SimplePhilox random(&philox); in TestWeights() 88 SimplePhilox rand(&philox); in BM_DistributionSampler()
|
D | weighted_picker.cc | 52 static int32 UnbiasedUniform(SimplePhilox* r, int32 n) { in UnbiasedUniform() 100 int WeightedPicker::Pick(SimplePhilox* rnd) const { in Pick()
|
/external/tensorflow/tensorflow/core/lib/io/ |
D | table_test.cc | 42 static StringPiece RandomString(random::SimplePhilox* rnd, int len, in RandomString() 50 static string RandomKey(random::SimplePhilox* rnd, int len) { in RandomKey() 61 static StringPiece CompressibleString(random::SimplePhilox* rnd, in CompressibleString() 303 void Test(random::SimplePhilox* rnd, int num_random_access_iters = 200) { in Test() 325 void TestRandomAccess(random::SimplePhilox* rnd, in TestRandomAccess() 397 string PickRandomKey(random::SimplePhilox* rnd, in PickRandomKey() 435 random::SimplePhilox rnd(&philox); in TEST_F() 464 random::SimplePhilox rnd(&philox); in TEST_F() 474 random::SimplePhilox rnd(&philox); in TEST_F() 484 random::SimplePhilox rnd(&philox); in TEST_F() [all …]
|
D | recordio_test.cc | 50 string RandomSkewedString(int i, random::SimplePhilox* rnd) { in RandomSkewedString() 208 random::SimplePhilox rnd(&philox); in TEST_F() 215 random::SimplePhilox rnd(&philox); in TEST_F()
|
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/ |
D | input_data.h | 68 rng_ = std::unique_ptr<random::SimplePhilox>( in TensorDataSet() 69 new random::SimplePhilox(single_rand_.get())); in TensorDataSet() 123 std::unique_ptr<random::SimplePhilox> rng_;
|
/external/tensorflow/tensorflow/contrib/coder/kernels/ |
D | range_coder_test.cc | 28 void RangeEncodeDecodeTest(int precision, random::SimplePhilox* gen) { in RangeEncodeDecodeTest() 91 random::SimplePhilox rand(&gen); in TEST() 98 random::SimplePhilox rand(&gen); in TEST()
|
D | pmf_to_cdf_op_test.cc | 48 void GenerateData(random::SimplePhilox* rand, in GenerateData() 96 random::SimplePhilox rand(&gen); in TEST_F() 121 random::SimplePhilox rand(&gen); in TEST_F()
|
D | range_coder_ops_test.cc | 45 int LogUniform(random::SimplePhilox* gen, uint32 n) { in LogUniform() 149 void PopulateMaxValues(random::SimplePhilox* gen, Tensor* maxvalue_tensor, in PopulateMaxValues() 159 void BuildCdf(random::SimplePhilox* gen, Tensor* data_tensor, in BuildCdf() 216 random::SimplePhilox gen(&philox); in TEST_F() 234 random::SimplePhilox gen(&philox); in TEST_F() 269 random::SimplePhilox gen(&philox); in TEST_F() 415 random::SimplePhilox gen(&philox); in CreateRangeEncodeFullBroadcastGraph() 454 random::SimplePhilox gen(&philox); in CreateRangeDecodeFullBroadcastGraph()
|
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/testutil/ |
D | random_tree_gen.h | 32 RandomTreeGen(tensorflow::random::SimplePhilox* rng, int dense_feature_size, 50 tensorflow::random::SimplePhilox* rng_;
|
D | batch_features_testutil.h | 37 tensorflow::random::SimplePhilox* rng, uint32 num_dense_float_features,
|
/external/tensorflow/tensorflow/contrib/tensor_forest/hybrid/core/ops/ |
D | stochastic_hard_routing_function_op.cc | 102 rng_ = std::unique_ptr<random::SimplePhilox>( in StochasticHardRoutingFunction() 103 new random::SimplePhilox(single_rand_.get())); in StochasticHardRoutingFunction() 187 std::unique_ptr<random::SimplePhilox> rng_;
|
/external/tensorflow/tensorflow/core/lib/strings/ |
D | ordered_code_test.cc | 35 string RandomString(random::SimplePhilox* rnd, size_t len) { in RandomString() 149 random::SimplePhilox rnd(&philox); in TestNumbers() 219 random::SimplePhilox rnd(&philox); in TEST() 331 random::SimplePhilox rnd(&philox); in TEST() 372 uint64 NextBits(random::SimplePhilox* rnd, int bits) { in NextBits() 383 random::SimplePhilox rnd(&philox); in BM_WriteNum() 400 random::SimplePhilox rnd(&philox); in BM_ReadNum() 433 random::SimplePhilox rnd(&philox); in TEST() 1215 random::SimplePhilox rnd(&philox); in BM_WriteString() 1233 random::SimplePhilox rnd(&philox); in BM_ReadString()
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
D | top_n_test.cc | 34 using tensorflow::random::SimplePhilox; 47 SimplePhilox *random, bool test_peek, in TestIntTopNHelper() 78 SimplePhilox *random) { in TestIntTopN() 91 SimplePhilox random(&philox); in TEST()
|
/external/tensorflow/tensorflow/core/graph/ |
D | tensor_id_test.cc | 37 uint32 Skewed(random::SimplePhilox* rnd, int max_log) { in Skewed() 45 random::SimplePhilox rnd(&philox); in BM_ParseTensorName()
|
D | benchmark_testlib.h | 90 random::SimplePhilox rnd(&philox); in CreateGraphDef() 116 random::SimplePhilox rnd(&philox); in CreateRandomGraph()
|
/external/tensorflow/tensorflow/core/lib/core/ |
D | bitmap_test.cc | 29 static void MakeRandomBitmap(random::SimplePhilox* rnd, Bitmap* bitmap) { in MakeRandomBitmap() 99 random::SimplePhilox rnd(&philox); in TEST()
|
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/utils/ |
D | dropout_utils.cc | 29 using tensorflow::random::SimplePhilox; 71 SimplePhilox rng(&philox); in DropOutTrees()
|