[TF:XLA] Disable tests for XLA that test kernels assert.

PiperOrigin-RevId: 266875249
This commit is contained in:
A. Unique TensorFlower 2019-09-03 01:08:47 -07:00 committed by TensorFlower Gardener
parent 21a5c3f864
commit 50229a2f5c
2 changed files with 2 additions and 1 deletions

View File

@ -2045,7 +2045,6 @@ cuda_py_test(
"//tensorflow/python:gradients",
"//tensorflow/python:variables",
],
xla_enable_strict_auto_jit = True,
)
cuda_py_test(

View File

@ -206,6 +206,7 @@ class GatherNdTest(test.TestCase):
self.assertEqual(None, tensor_shape.dimension_value(shape[0]))
@test_util.run_deprecated_v1
@test_util.disable_xla("XLA does not have assertions in kernels.")
def testBadIndicesCPU(self):
with self.session(use_gpu=False):
params = [0, 1, 2]
@ -229,6 +230,7 @@ class GatherNdTest(test.TestCase):
self.evaluate(gather_nd)
@test_util.run_deprecated_v1
@test_util.disable_xla("XLA does not have assertions in kernels.")
def testBadIndicesWithSlicesCPU(self):
with self.session(use_gpu=False):
params = [[0, 1, 2]]