Home
last modified time | relevance | path

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

123456789

/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/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/tensorflow/tensorflow/python/data/util/
Drandom_seed_test.py21 from tensorflow.python.data.util import random_seed as data_random_seed
26 from tensorflow.python.framework import random_seed
45 ((None, 1), (random_seed.DEFAULT_GRAPH_SEED, 1)),
51 ((None, one_t), (random_seed.DEFAULT_GRAPH_SEED, 1)),
59 random_seed.set_random_seed(tinput[0])
66 random_seed.set_random_seed(None)
69 random_seed.set_random_seed(1)
72 random_seed.set_random_seed(tinput[0])
79 random_seed.set_random_seed(None)
/external/tensorflow/tensorflow/python/ops/
Dcandidate_sampling_ops.py22 from tensorflow.python.framework import random_seed
83 seed1, seed2 = random_seed.get_seed(seed)
148 seed1, seed2 = random_seed.get_seed(seed)
208 seed1, seed2 = random_seed.get_seed(seed)
299 seed1, seed2 = random_seed.get_seed(seed)
337 seed1, seed2 = random_seed.get_seed(seed)
386 seed1, seed2 = random_seed.get_seed(seed)
Drandom_ops.py24 from tensorflow.python.framework import random_seed
77 seed1, seed2 = random_seed.get_seed(seed)
129 seed1, seed2 = random_seed.get_seed(seed)
176 seed1, seed2 = random_seed.get_seed(seed)
242 seed1, seed2 = random_seed.get_seed(seed)
281 seed1, seed2 = random_seed.get_seed(seed)
391 seed1, seed2 = random_seed.get_seed(seed)
476 seed1, seed2 = random_seed.get_seed(seed)
561 seed1, seed2 = random_seed.get_seed(seed)
/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/v8/tools/testrunner/
Dtest_config.py18 random_seed, argument
29 self.random_seed = random_seed or random_utils.random_seed()
/external/freetype/src/base/
Dftpsprop.c201 FT_Int32 random_seed; in ps_property_set() local
210 random_seed = (FT_Int32)ft_strtol( s, NULL, 10 ); in ps_property_set()
214 random_seed = *(FT_Int32*)value; in ps_property_set()
216 if ( random_seed < 0 ) in ps_property_set()
217 random_seed = 0; in ps_property_set()
219 driver->random_seed = random_seed; in ps_property_set()
/external/tensorflow/tensorflow/contrib/slim/python/slim/
Dlearning_test.py39 from tensorflow.python.framework import random_seed
244 random_seed.set_random_seed(0)
276 random_seed.set_random_seed(0)
314 random_seed.set_random_seed(0)
347 random_seed.set_random_seed(0)
372 random_seed.set_random_seed(0)
398 random_seed.set_random_seed(0)
431 random_seed.set_random_seed(0)
450 random_seed.set_random_seed(0)
469 random_seed.set_random_seed(0)
[all …]
/external/tensorflow/tensorflow/contrib/training/python/training/
Dtraining_test.py31 from tensorflow.python.framework import random_seed
108 random_seed.set_random_seed(0)
145 random_seed.set_random_seed(0)
178 random_seed.set_random_seed(0)
201 random_seed.set_random_seed(0)
238 random_seed.set_random_seed(0)
274 random_seed.set_random_seed(0)
295 random_seed.set_random_seed(0)
322 random_seed.set_random_seed(i)
385 random_seed.set_random_seed(0)
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dextract_image_patches_grad_test.py25 from tensorflow.python.framework import random_seed as random_seed_lib
85 random_seed = 42
86 random_seed_lib.set_random_seed(random_seed)
90 np.random.seed(random_seed)
Dextract_volume_patches_grad_test.py25 from tensorflow.python.framework import random_seed as random_seed_lib
63 random_seed = 42
64 random_seed_lib.set_random_seed(random_seed)
68 np.random.seed(random_seed)
/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)
260 random_seed.set_random_seed(0)
290 random_seed.set_random_seed(0)
326 random_seed.set_random_seed(0)
361 random_seed.set_random_seed(0)
[all …]
/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/v8/tools/testrunner/objects/
Dtestcase.py70 keep_output=False, random_seed=None): argument
76 if random_seed:
77 subtest._random_seed = random_seed
182 return ['--random-seed=%d' % self.random_seed]
185 def random_seed(self): member in TestCase
186 return self._random_seed or self._test_config.random_seed
/external/libvpx/libvpx/test/
Dvp9_boolcoder_test.cc51 const int random_seed = 6432; in TEST() local
53 ACMRandom bit_rnd(random_seed); in TEST()
75 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()
101 bit_rnd.Reset(random_seed); in TEST()
/external/tensorflow/tensorflow/python/ops/linalg/
Dlinear_operator_test_util.py27 from tensorflow.python.framework import random_seed
197 sess.graph.seed = random_seed.DEFAULT_GRAPH_SEED
213 sess.graph.seed = random_seed.DEFAULT_GRAPH_SEED
230 sess.graph.seed = random_seed.DEFAULT_GRAPH_SEED
255 sess.graph.seed = random_seed.DEFAULT_GRAPH_SEED
294 sess.graph.seed = random_seed.DEFAULT_GRAPH_SEED
312 sess.graph.seed = random_seed.DEFAULT_GRAPH_SEED
335 sess.graph.seed = random_seed.DEFAULT_GRAPH_SEED
372 sess.graph.seed = random_seed.DEFAULT_GRAPH_SEED
391 sess.graph.seed = random_seed.DEFAULT_GRAPH_SEED
[all …]
/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/tensorflow/tensorflow/contrib/gan/python/features/python/
Dvirtual_batchnorm_test.py27 from tensorflow.python.framework import random_seed
54 random_seed.set_random_seed(1234)
71 random_seed.set_random_seed(1234)
105 random_seed.set_random_seed(1234)
128 random_seed.set_random_seed(1234)
157 random_seed.set_random_seed(1234)
/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/contrib/factorization/python/ops/
Dkmeans.py141 random_seed, use_mini_batch, mini_batch_steps_per_iteration, argument
147 self._random_seed = random_seed
204 random_seed=self._random_seed,
324 random_seed=0, argument
418 num_clusters, initial_clusters, distance_metric, random_seed,
/external/libaom/libaom/examples/
Dnoise_model.c182 grain->random_seed = 7391; in print_variance_y()
332 int16_t random_seed = 7391; in main() local
394 grain.random_seed = random_seed; in main()
395 random_seed = 0; in main()
412 grain.random_seed = random_seed; in main()

123456789