Home
last modified time | relevance | path

Searched refs:random_seed (Results 1 – 25 of 189) sorted by relevance

12345678

/external/grpc-grpc/third_party/nanopb/tests/fuzztest/
Dgenerate_message.c14 static uint64_t random_seed; variable
20 random_seed ^= random_seed >> 12; in rand_word()
21 random_seed ^= random_seed << 25; in rand_word()
22 random_seed ^= random_seed >> 27; in rand_word()
23 return random_seed * 2685821657736338717ULL; in rand_word()
88 random_seed = atol(argv[1]); in main()
92 random_seed = time(NULL); in main()
95 fprintf(stderr, "Random seed: %llu\n", (long long unsigned)random_seed); in main()
Dfuzztest.c16 static uint64_t random_seed; variable
22 random_seed ^= random_seed >> 12; in rand_word()
23 random_seed ^= random_seed << 25; in rand_word()
24 random_seed ^= random_seed >> 27; in rand_word()
25 return random_seed * 2685821657736338717ULL; in rand_word()
416 random_seed = atol(argv[1]); in main()
420 random_seed = time(NULL); in main()
423 fprintf(stderr, "Random seed: %llu\n", (long long unsigned)random_seed); in main()
/external/nanopb-c/tests/fuzztest/
Dgenerate_message.c14 static uint64_t random_seed; variable
20 random_seed ^= random_seed >> 12; in rand_word()
21 random_seed ^= random_seed << 25; in rand_word()
22 random_seed ^= random_seed >> 27; in rand_word()
23 return random_seed * 2685821657736338717ULL; in rand_word()
88 random_seed = atol(argv[1]); in main()
92 random_seed = time(NULL); in main()
95 fprintf(stderr, "Random seed: %llu\n", (long long unsigned)random_seed); in main()
Dfuzztest.c16 static uint64_t random_seed; variable
22 random_seed ^= random_seed >> 12; in rand_word()
23 random_seed ^= random_seed << 25; in rand_word()
24 random_seed ^= random_seed >> 27; in rand_word()
25 return random_seed * 2685821657736338717ULL; in rand_word()
416 random_seed = atol(argv[1]); in main()
420 random_seed = time(NULL); in main()
423 fprintf(stderr, "Random seed: %llu\n", (long long unsigned)random_seed); in main()
/external/tensorflow/tensorflow/python/data/util/
Drandom_seed_test.py21 from tensorflow.python.data.util import random_seed as data_random_seed
25 from tensorflow.python.framework import random_seed
44 ((None, 1), (random_seed.DEFAULT_GRAPH_SEED, 1)),
50 ((None, one_t), (random_seed.DEFAULT_GRAPH_SEED, 1)),
58 random_seed.set_random_seed(tinput[0])
65 random_seed.set_random_seed(None)
68 random_seed.set_random_seed(1)
72 random_seed.set_random_seed(tinput[0])
/external/tensorflow/tensorflow/python/framework/
Drandom_seed_test.py22 from tensorflow.python.framework import random_seed
37 ((None, 1), (random_seed.DEFAULT_GRAPH_SEED, 1)),
52 random_seed.set_random_seed(tinput[0])
53 g_seed, op_seed = random_seed.get_seed(tinput[1])
58 random_seed.set_random_seed(None)
/external/tensorflow/tensorflow/python/ops/
Dcandidate_sampling_ops.py22 from tensorflow.python.framework import random_seed
85 seed1, seed2 = random_seed.get_seed(seed)
151 seed1, seed2 = random_seed.get_seed(seed)
212 seed1, seed2 = random_seed.get_seed(seed)
304 seed1, seed2 = random_seed.get_seed(seed)
342 seed1, seed2 = random_seed.get_seed(seed)
392 seed1, seed2 = random_seed.get_seed(seed)
Drandom_ops.py26 from tensorflow.python.framework import random_seed
93 seed1, seed2 = random_seed.get_seed(seed)
146 seed1, seed2 = random_seed.get_seed(seed)
202 seed1, seed2 = random_seed.get_seed(seed)
304 seed1, seed2 = random_seed.get_seed(seed)
355 seed1, seed2 = random_seed.get_seed(seed)
531 seed1, seed2 = random_seed.get_seed(seed)
634 seed1, seed2 = random_seed.get_seed(seed)
723 seed1, seed2 = random_seed.get_seed(seed)
/external/tensorflow/tensorflow/python/kernel_tests/
Dextract_image_patches_grad_test.py28 from tensorflow.python.framework import random_seed as random_seed_lib
87 random_seed = 42
88 random_seed_lib.set_random_seed(random_seed)
92 np.random.seed(random_seed)
148 random_seed = 42
149 random_seed_lib.set_random_seed(random_seed)
153 np.random.seed(random_seed)
Dextract_volume_patches_grad_test.py27 from tensorflow.python.framework import random_seed as random_seed_lib
65 random_seed = 42
66 random_seed_lib.set_random_seed(random_seed)
69 np.random.seed(random_seed)
/external/freetype/src/base/
Dftpsprop.c200 FT_Int32 random_seed; in ps_property_set() local
209 random_seed = (FT_Int32)ft_strtol( s, NULL, 10 ); in ps_property_set()
213 random_seed = *(FT_Int32*)value; in ps_property_set()
215 if ( random_seed < 0 ) in ps_property_set()
216 random_seed = 0; in ps_property_set()
218 driver->random_seed = random_seed; in ps_property_set()
/external/tensorflow/tensorflow/python/kernel_tests/random/
Dmultinomial_op_big_test.py25 from tensorflow.python.framework import random_seed
35 random_seed.set_random_seed(10)
53 random_seed.set_random_seed(10)
72 random_seed.set_random_seed(10)
/external/tensorflow/tensorflow/python/grappler/
Dlayout_optimizer_test.py31 from tensorflow.python.framework import random_seed
87 random_seed.set_random_seed(0)
117 random_seed.set_random_seed(0)
128 random_seed.set_random_seed(0)
139 random_seed.set_random_seed(0)
169 random_seed.set_random_seed(0)
281 random_seed.set_random_seed(0)
311 random_seed.set_random_seed(0)
347 random_seed.set_random_seed(0)
382 random_seed.set_random_seed(0)
[all …]
Dauto_mixed_precision_test.py36 from tensorflow.python.framework import random_seed
401 random_seed.set_random_seed(0)
440 random_seed.set_random_seed(0)
474 random_seed.set_random_seed(0)
499 random_seed.set_random_seed(0)
526 random_seed.set_random_seed(0)
562 random_seed.set_random_seed(0)
592 random_seed.set_random_seed(0)
621 random_seed.set_random_seed(0)
642 random_seed.set_random_seed(0)
[all …]
/external/libvpx/libvpx/test/
Dvp9_boolcoder_test.cc51 const int random_seed = 6432; in TEST() local
53 ACMRandom bit_rnd(random_seed); in TEST()
78 bit_rnd.Reset(random_seed); in TEST()
Dvp8_boolcoder_test.cc78 const int random_seed = 6432; in TEST() local
80 ACMRandom bit_rnd(random_seed); in TEST()
104 bit_rnd.Reset(random_seed); in TEST()
/external/freetype/src/cid/
Dcidobjs.c505 driver->random_seed = (FT_Int32)seed; in cid_driver_init()
506 if ( driver->random_seed < 0 ) in cid_driver_init()
507 driver->random_seed = -driver->random_seed; in cid_driver_init()
508 else if ( driver->random_seed == 0 ) in cid_driver_init()
509 driver->random_seed = 123456789; in cid_driver_init()
/external/tensorflow/tensorflow/python/client/
Dvirtual_gpu_test.py159 def TestRandomGraph(self, sess, op_placement=None, random_seed=None): argument
165 if random_seed is None:
166 random_seed = random.randint(0, 1 << 31)
171 logging.info('random seed: %d', random_seed)
175 sess, random_seed, op_placement, self.devices, debug_mode=debug_mode)
179 random_seed,
/external/libaom/libaom/examples/
Dnoise_model.c182 grain->random_seed = 7391; in print_variance_y()
333 int16_t random_seed = 7391; in main() local
395 grain.random_seed = random_seed; in main()
396 random_seed = 0; in main()
413 grain.random_seed = random_seed; in main()
/external/libaom/libaom/aom_dsp/
Dgrain_table.c47 &entry->end_time, &pars->apply_grain, &pars->random_seed, in grain_table_entry_read()
141 entry->end_time, pars->apply_grain, pars->random_seed, in grain_table_entry_write()
206 uint16_t random_seed = grain ? grain->random_seed : 0; in aom_film_grain_table_lookup() local
214 if (time_stamp != 0) grain->random_seed = random_seed; in aom_film_grain_table_lookup()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/
Dspirv_fuzzer_options.cpp24 random_seed(0), in spv_fuzzer_options_t()
47 options->random_seed = seed; in spvFuzzerOptionsSetRandomSeed()
/external/swiftshader/third_party/SPIRV-Tools/source/
Dspirv_fuzzer_options.cpp24 random_seed(0), in spv_fuzzer_options_t()
47 options->random_seed = seed; in spvFuzzerOptionsSetRandomSeed()
/external/deqp-deps/SPIRV-Tools/source/
Dspirv_fuzzer_options.cpp24 random_seed(0), in spv_fuzzer_options_t()
47 options->random_seed = seed; in spvFuzzerOptionsSetRandomSeed()
/external/tensorflow/tensorflow/python/ops/linalg/
Dlinear_operator_test_util.py31 from tensorflow.python.framework import random_seed
278 sess.graph.seed = random_seed.DEFAULT_GRAPH_SEED
292 sess.graph.seed = random_seed.DEFAULT_GRAPH_SEED
307 sess.graph.seed = random_seed.DEFAULT_GRAPH_SEED
337 sess.graph.seed = random_seed.DEFAULT_GRAPH_SEED
429 sess.graph.seed = random_seed.DEFAULT_GRAPH_SEED
450 sess.graph.seed = random_seed.DEFAULT_GRAPH_SEED + 2
464 sess.graph.seed = random_seed.DEFAULT_GRAPH_SEED
504 sess.graph.seed = random_seed.DEFAULT_GRAPH_SEED
553 sess.graph.seed = random_seed.DEFAULT_GRAPH_SEED
[all …]
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Drandom_dataset_test.py25 from tensorflow.python.framework import random_seed
38 random_seed.set_random_seed(global_seed)

12345678