/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 | 38 void RangeSampler::SampleBatch(random::SimplePhilox* rnd, bool unique, in SampleBatch() 46 random::SimplePhilox* rnd, bool unique, gtl::MutableArraySlice<int64> batch, in SampleBatchGetExpectedCount() 79 random::SimplePhilox* rnd, bool unique, MutableArraySlice<int64> batch, in SampleBatchGetExpectedCountAvoid() 126 random::SimplePhilox* rnd, bool unique, MutableArraySlice<int64> batch, in SampleBatchGetExpectedCountAvoid() 151 int64 UniformSampler::Sample(random::SimplePhilox* rnd) const { in Sample() 160 int64 LogUniformSampler::Sample(random::SimplePhilox* rnd) const { in Sample() 185 int64 ThreadUnsafeUnigramSampler::Sample(random::SimplePhilox* rnd) const { in Sample() 208 int64 UnigramSampler::Sample(random::SimplePhilox* rnd) const { in Sample() 220 random::SimplePhilox* rnd, bool unique, MutableArraySlice<int64> batch, in SampleBatchGetExpectedCountAvoid() 274 int64 FixedUnigramSampler::Sample(random::SimplePhilox* rnd) const { in Sample()
|
D | range_sampler_test.cc | 47 random::SimplePhilox rnd(&philox); in CheckHistogram() 271 random::SimplePhilox rnd(&philox); in TEST_F() 314 random::SimplePhilox rnd(&philox); in TEST_F()
|
D | lrn_op_test.cc | 95 random::SimplePhilox rand_; 162 static double RndGaussian(random::SimplePhilox* rnd) { in RndGaussian()
|
D | fractional_pool_common.cc | 65 random::SimplePhilox random(&local_gen); in GeneratePoolingSequencePseudoRandom()
|
D | gather_nd_op_test.cc | 120 random::SimplePhilox rnd(&philox); in GatherNd()
|
/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() 261 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()
|
D | distribution_sampler.h | 52 int Sample(SimplePhilox* rand) const { in Sample()
|
/external/tensorflow/tensorflow/core/lib/io/ |
D | table_test.cc | 43 static StringPiece RandomString(random::SimplePhilox* rnd, int len, in RandomString() 51 static string RandomKey(random::SimplePhilox* rnd, int len) { in RandomKey() 62 static StringPiece CompressibleString(random::SimplePhilox* rnd, in CompressibleString() 304 void Test(random::SimplePhilox* rnd, int num_random_access_iters = 200) { in Test() 326 void TestRandomAccess(random::SimplePhilox* rnd, in TestRandomAccess() 398 string PickRandomKey(random::SimplePhilox* rnd, in PickRandomKey() 436 random::SimplePhilox rnd(&philox); in TEST_F() 465 random::SimplePhilox rnd(&philox); in TEST_F() 475 random::SimplePhilox rnd(&philox); in TEST_F() 485 random::SimplePhilox rnd(&philox); in TEST_F() [all …]
|
D | recordio_test.cc | 50 string RandomSkewedString(int i, random::SimplePhilox* rnd) { in RandomSkewedString() 236 random::SimplePhilox rnd(&philox); in TEST_F() 243 random::SimplePhilox rnd(&philox); in TEST_F()
|
/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/gtl/ |
D | top_n_test.cc | 33 using tensorflow::random::SimplePhilox; 46 SimplePhilox *random, bool test_peek, in TestIntTopNHelper() 77 SimplePhilox *random) { in TestIntTopN() 90 SimplePhilox random(&philox); in TEST()
|
/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() 437 random::SimplePhilox rnd(&philox); in TEST() 1218 random::SimplePhilox rnd(&philox); in BM_WriteString() 1234 random::SimplePhilox rnd(&philox); in BM_ReadString()
|
/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/core/util/ |
D | example_proto_fast_parsing_test.cc | 324 string RandStr(random::SimplePhilox* rng) { in RandStr() 340 void Fuzz(random::SimplePhilox* rng) { in Fuzz() 408 random::SimplePhilox rng(&philox); in TEST()
|
/external/tensorflow/tensorflow/core/kernels/image/ |
D | sample_distorted_bounding_box_op.cc | 30 using tensorflow::random::SimplePhilox; 118 SimplePhilox* random, Rectangle* crop_rect) { in GenerateRandomCrop() 352 random::SimplePhilox random(&local_rng); in DoCompute()
|
D | random_crop_op.cc | 80 random::SimplePhilox random(&local_gen); in Compute()
|
/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/ |
D | weighted_quantiles_stream_test.cc | 82 random::SimplePhilox rand(&philox); in GenerateRandUniformFixedWeightsSummary() 96 random::SimplePhilox rand(&philox); in GenerateRandUniformRandWeightsSummary()
|