From 8876961414df8d9b31d3668d76c6427c1c3d25d9 Mon Sep 17 00:00:00 2001 From: Dimitris Vardoulakis Date: Fri, 16 Oct 2020 20:32:56 -0700 Subject: [PATCH] Small update to prng_test for more consistent results. PiperOrigin-RevId: 337621642 Change-Id: If88b7e94754be4479c125235ce3ac5009bdcd62a --- tensorflow/compiler/xla/tests/prng_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/compiler/xla/tests/prng_test.cc b/tensorflow/compiler/xla/tests/prng_test.cc index 201c0da87f1..1a95f2fb549 100644 --- a/tensorflow/compiler/xla/tests/prng_test.cc +++ b/tensorflow/compiler/xla/tests/prng_test.cc @@ -122,7 +122,7 @@ XLA_TEST_F(PrngTest, DISABLED_ON_INTERPRETER(DISABLED_ON_GPU( bfloat16 interval = static_cast(0.25); std::vector counts(static_cast((high - low) / interval), 0); - constexpr int64 count = 100; + constexpr int64 count = 1000; for (int64 seed = 0; seed < count; ++seed) { auto result = UniformTest(low, high, {}, /*seed=*/seed); result.EachCell([&](absl::Span, bfloat16 value) {