diff --git a/tensorflow/compiler/tests/categorical_op_test.py b/tensorflow/compiler/tests/categorical_op_test.py index ef6df1f0879..afda99a7e06 100644 --- a/tensorflow/compiler/tests/categorical_op_test.py +++ b/tensorflow/compiler/tests/categorical_op_test.py @@ -187,7 +187,7 @@ class CategoricalTest(xla_test.XLATestCase): 0, seed=seed_t, output_dtype=dtypes.int32) - y = sess.run(x, {seed_t: [0x12345678, 0xabcdef12]}) + y = sess.run(x, {seed_t: [0x12345678, 0xabcdef1]}) self.assertEqual(y.shape, (42, 0)) diff --git a/tensorflow/compiler/tests/stateless_random_ops_test.py b/tensorflow/compiler/tests/stateless_random_ops_test.py index 6576e274300..56b49689607 100644 --- a/tensorflow/compiler/tests/stateless_random_ops_test.py +++ b/tensorflow/compiler/tests/stateless_random_ops_test.py @@ -101,7 +101,7 @@ class StatelessRandomOpsTest(xla_test.XLATestCase): seed_t = array_ops.placeholder(dtypes.int32, shape=[2]) x = stateless.stateless_random_normal( shape=[10000], seed=seed_t, dtype=dtype) - y = sess.run(x, {seed_t: [0x12345678, 0xabcdef12]}) + y = sess.run(x, {seed_t: [0x12345678, 0xabcdef1]}) self.assertTrue(np.all(np.isfinite(y))) def testDistributionOfStatelessRandomNormal(self):