Home
last modified time | relevance | path

Searched refs:op_seed (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/python/data/util/
Drandom_seed_test.py60 g_seed, op_seed = data_random_seed.get_seed(tinput[1])
62 op_seed = self.evaluate(op_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])
75 op_seed = self.evaluate(op_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.py39 def get_seed(op_seed): argument
65 if op_seed is None:
70 op_seed = context.internal_operation_seed()
72 op_seed = ops.get_default_graph()._last_id
74 seeds = _truncate_seed(global_seed), _truncate_seed(op_seed)
76 if op_seed is not None:
77 seeds = DEFAULT_GRAPH_SEED, _truncate_seed(op_seed)
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/tensorflow/tensorflow/python/kernel_tests/random/
Drandom_ops_test.py46 op_seed=None, argument
51 x = rng_func([num], min_or_mean, max_or_stddev, dtype=dtype, seed=op_seed)
144 op_seed=1345)
399 op_seed=1345)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.random.pbtxt25 argspec: "args=[\'op_seed\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.pbtxt1321 argspec: "args=[\'op_seed\'], varargs=None, keywords=None, defaults=None"