diff options
author | 2016-07-15 11:06:16 -0800 | |
---|---|---|
committer | 2016-07-15 12:17:29 -0700 | |
commit | 7b2cc1c90b450aac5d28262744c4a0044368a495 (patch) | |
tree | f2aeaf36dd5f73fc22bcd39c6eb62524778b8d97 /boost.BUILD | |
parent | e5ea34a104f55e9d698e50982de90d99ce99550f (diff) |
Initialize random seed in TensorflowTestCase Setup to reduce flakiness in unittests.
This uncovered:
- a few flaky tests, that started failing deterministically :). Their fixes are included
in this CL.
- random_shuffle_queue with a shared_name always fails if a user provides a graph-level
random seed. This is because the op_level seed returned from random_seed.get_seed
changes per graph operation. The fix for this is also included in this CL.
While I was here, also added a test for random_seed, since the logic in there has
become a bit complicated.
Change: 127564438
Diffstat (limited to 'boost.BUILD')
0 files changed, 0 insertions, 0 deletions