Home
last modified time | relevance | path

Searched refs:philox (Results 1 – 25 of 40) sorted by relevance

12

/external/tensorflow/tensorflow/core/lib/random/
Dsimple_philox_test.cc30 PhiloxRandom philox(7, 7); in TEST() local
31 SimplePhilox gen(&philox); in TEST()
96 PhiloxRandom philox(17, 17); in TEST() local
97 SimplePhilox gen(&philox); in TEST()
115 PhiloxRandom philox(17, 17); in TEST() local
116 SimplePhilox gen(&philox); in TEST()
Dweighted_picker_test.cc37 PhiloxRandom philox(testing::RandomSeed(), 17); in TEST() local
38 SimplePhilox rnd(&philox); in TEST()
93 PhiloxRandom philox(testing::RandomSeed() + 1, 17); in TEST() local
94 SimplePhilox rnd(&philox); in TEST()
108 PhiloxRandom philox(testing::RandomSeed() + 10, 17); in TEST() local
109 SimplePhilox rnd(&philox); in TEST()
257 PhiloxRandom philox(301, 17); in BM_Pick() local
258 SimplePhilox rnd(&philox); in BM_Pick()
Ddistribution_sampler_test.cc39 PhiloxRandom philox(testing::RandomSeed(), 17); in TestWeights() local
40 SimplePhilox random(&philox); in TestWeights()
87 PhiloxRandom philox(173, 371); in BM_DistributionSampler() local
88 SimplePhilox rand(&philox); in BM_DistributionSampler()
/external/tensorflow/tensorflow/core/lib/io/
Dtable_test.cc434 random::PhiloxRandom philox(testing::RandomSeed() + 1, 17); in TEST_F() local
435 random::SimplePhilox rnd(&philox); in TEST_F()
463 random::PhiloxRandom philox(testing::RandomSeed() + 1, 17); in TEST_F() local
464 random::SimplePhilox rnd(&philox); in TEST_F()
473 random::PhiloxRandom philox(testing::RandomSeed() + 2, 17); in TEST_F() local
474 random::SimplePhilox rnd(&philox); in TEST_F()
483 random::PhiloxRandom philox(testing::RandomSeed() + 3, 17); in TEST_F() local
484 random::SimplePhilox rnd(&philox); in TEST_F()
495 random::PhiloxRandom philox(testing::RandomSeed() + 3, 17); in TEST_F() local
496 random::SimplePhilox rnd(&philox); in TEST_F()
[all …]
Drecordio_test.cc207 random::PhiloxRandom philox(301, 17); in TEST_F() local
208 random::SimplePhilox rnd(&philox); in TEST_F()
214 random::PhiloxRandom philox(301, 17); in TEST_F() local
215 random::SimplePhilox rnd(&philox); in TEST_F()
/external/tensorflow/tensorflow/core/kernels/
Dstateful_random_ops_cpu_gpu.h53 PHILOX_DEVICE_INLINE void WritePhiloxRandomToMem(PhiloxRandom const& philox, in WritePhiloxRandomToMem() argument
55 PhiloxRandom::ResultType const& counter = philox.counter(); in WritePhiloxRandomToMem()
56 PhiloxRandom::Key const& key = philox.key(); in WritePhiloxRandomToMem()
62 PHILOX_DEVICE_INLINE void UpdateMemWithPhiloxRandom(PhiloxRandom const& philox, in UpdateMemWithPhiloxRandom() argument
65 auto new_philox = philox; in UpdateMemWithPhiloxRandom()
Dstateful_random_ops_gpu.cu.cc38 auto philox = reinterpret_cast<PhiloxRandom*>(philox_raw); in FillKernel() local
40 *philox = GetPhiloxRandomFromMem(state_data); in FillKernel()
45 .Run(*philox, output_data, output_size, dist); in FillKernel()
50 UpdateMemWithPhiloxRandom(*philox, output_size, state_data); in FillKernel()
Drange_sampler_test.cc46 random::PhiloxRandom philox(123, 17); in CheckHistogram() local
47 random::SimplePhilox rnd(&philox); in CheckHistogram()
270 random::PhiloxRandom philox(123, 17); in TEST_F() local
271 random::SimplePhilox rnd(&philox); in TEST_F()
313 random::PhiloxRandom philox(123, 17); in TEST_F() local
314 random::SimplePhilox rnd(&philox); in TEST_F()
Dstateful_random_ops.cc34 auto philox = GetPhiloxRandomFromMem(state_data + alg_tag_skip); in operator ()() local
35 UpdateMemWithPhiloxRandom(philox, output_size, state_data + alg_tag_skip); in operator ()()
39 ctx, device, philox, output_data, output_size, Distribution()); in operator ()()
Dgather_nd_op_test.cc93 random::PhiloxRandom philox(301, 17); in GatherNd() local
94 random::SimplePhilox rnd(&philox); in GatherNd()
Ddynamic_partition_op_test.cc180 random::PhiloxRandom philox(301, 17); in DynamicPartition() local
181 random::SimplePhilox rnd(&philox); in DynamicPartition()
/external/tensorflow/tensorflow/core/lib/strings/
Dordered_code_test.cc148 random::PhiloxRandom philox(301, 17); in TestNumbers() local
149 random::SimplePhilox rnd(&philox); in TestNumbers()
218 random::PhiloxRandom philox(301, 17); in TEST() local
219 random::SimplePhilox rnd(&philox); in TEST()
330 random::PhiloxRandom philox(301, 17); in TEST() local
331 random::SimplePhilox rnd(&philox); in TEST()
382 random::PhiloxRandom philox(301, 17); in BM_WriteNum() local
383 random::SimplePhilox rnd(&philox); in BM_WriteNum()
399 random::PhiloxRandom philox(301, 17); in BM_ReadNum() local
400 random::SimplePhilox rnd(&philox); in BM_ReadNum()
[all …]
/external/tensorflow/tensorflow/core/graph/
Dbenchmark_testlib.h89 random::PhiloxRandom philox(301, 17); in CreateGraphDef()
90 random::SimplePhilox rnd(&philox); in CreateGraphDef()
115 random::PhiloxRandom philox(0x12345); in CreateRandomGraph()
116 random::SimplePhilox rnd(&philox); in CreateRandomGraph()
Dtensor_id_test.cc44 random::PhiloxRandom philox(301, 17); in BM_ParseTensorName() local
45 random::SimplePhilox rnd(&philox); in BM_ParseTensorName()
Dmkl_tfconversion_pass_test.cc273 random::PhiloxRandom philox(301, 17); in BM_RunMklToTfConversionPass() local
274 random::SimplePhilox rnd(&philox); in BM_RunMklToTfConversionPass()
Doptimizer_cse_test.cc351 random::PhiloxRandom philox(301, 17); in BM_CSE() local
352 random::SimplePhilox rnd(&philox); in BM_CSE()
/external/tensorflow/tensorflow/contrib/coder/kernels/
Drange_coder_ops_test.cc215 random::PhiloxRandom philox(random::New64(), random::New64()); in TEST_F() local
216 random::SimplePhilox gen(&philox); in TEST_F()
233 random::PhiloxRandom philox(random::New64(), random::New64()); in TEST_F() local
234 random::SimplePhilox gen(&philox); in TEST_F()
268 random::PhiloxRandom philox(random::New64(), random::New64()); in TEST_F() local
269 random::SimplePhilox gen(&philox); in TEST_F()
414 random::PhiloxRandom philox(random::New64(), random::New64()); in CreateRangeEncodeFullBroadcastGraph() local
415 random::SimplePhilox gen(&philox); in CreateRangeEncodeFullBroadcastGraph()
453 random::PhiloxRandom philox(random::New64(), random::New64()); in CreateRangeDecodeFullBroadcastGraph() local
454 random::SimplePhilox gen(&philox); in CreateRangeDecodeFullBroadcastGraph()
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/utils/
Drandom_test.cc24 random::PhiloxRandom philox(77L); in TEST() local
25 random::SimplePhilox rng(&philox); in TEST()
Ddropout_utils.cc70 PhiloxRandom philox(seed); in DropOutTrees() local
71 SimplePhilox rng(&philox); in DropOutTrees()
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/quantiles/
Dweighted_quantiles_stream_test.cc82 random::PhiloxRandom philox(13 + worker_id); in GenerateRandUniformFixedWeightsSummary() local
83 random::SimplePhilox rand(&philox); in GenerateRandUniformFixedWeightsSummary()
96 random::PhiloxRandom philox(13 + worker_id); in GenerateRandUniformRandWeightsSummary() local
97 random::SimplePhilox rand(&philox); in GenerateRandUniformRandWeightsSummary()
/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/
Dweighted_quantiles_stream_test.cc81 random::PhiloxRandom philox(13 + worker_id); in GenerateRandUniformFixedWeightsSummary() local
82 random::SimplePhilox rand(&philox); in GenerateRandUniformFixedWeightsSummary()
95 random::PhiloxRandom philox(13 + worker_id); in GenerateRandUniformRandWeightsSummary() local
96 random::SimplePhilox rand(&philox); in GenerateRandUniformRandWeightsSummary()
Dweighted_quantiles_summary_test.cc138 random::PhiloxRandom philox(13); in TEST_F() local
139 random::SimplePhilox rand(&philox); in TEST_F()
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/testutil/
Drandom_tree_gen_main.cc54 tensorflow::random::PhiloxRandom philox(1); in main() local
55 tensorflow::random::SimplePhilox rng(&philox); in main()
/external/tensorflow/tensorflow/core/kernels/data/
Dsingle_threaded_executor_test.cc202 random::PhiloxRandom philox(0, 17); in BuildTree() local
203 random::SimplePhilox rnd(&philox); in BuildTree()
252 random::PhiloxRandom philox(1729, 17); in BM_executor() local
253 random::SimplePhilox rand(&philox); in BM_executor()
/external/tensorflow/tensorflow/core/lib/core/
Dbitmap_test.cc98 random::PhiloxRandom philox(301, 17); in TEST() local
99 random::SimplePhilox rnd(&philox); in TEST()

12