Home
last modified time | relevance | path

Searched refs:g_seed (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/python/data/util/
Drandom_seed_test.py60 g_seed, op_seed = data_random_seed.get_seed(tinput[1])
61 g_seed = self.evaluate(g_seed)
64 tinput, (g_seed, op_seed), toutput)
65 self.assertEqual((g_seed, op_seed), toutput, msg=msg)
73 g_seed, op_seed = data_random_seed.get_seed(tinput[1])
74 g_seed = self.evaluate(g_seed)
76 msg = 'test_case = {0}, got {1}, want {2}'.format(1, (g_seed, op_seed),
78 self.assertEqual((g_seed, op_seed), toutput, msg=msg)
/external/tensorflow/tensorflow/python/framework/
Drandom_seed_test.py53 g_seed, op_seed = random_seed.get_seed(tinput[1])
55 (g_seed, op_seed),
57 self.assertEqual((g_seed, op_seed), toutput, msg=msg)
/external/eigen/test/
Dmain.h132 static unsigned int g_seed; variable
668 g_seed = int(strtoul(str, 0, 10));
669 if(errno || g_seed == 0)
727 if(!g_has_set_seed) g_seed = (unsigned int) time(NULL);
730 std::cout << "Initializing random number generator with seed " << g_seed << std::endl;
732 ss << "Seed: " << g_seed;
734 srand(g_seed);
/external/eigen/bench/
Dquat_slerp.cpp152 unsigned int g_seed = (unsigned int) time(NULL); in main() local
153 std::cout << g_seed << "\n"; in main()
155 srand(g_seed); in main()