[TF:XLA] Disable tests for XLA that test kernels assert.
PiperOrigin-RevId: 266875249
This commit is contained in:
parent
21a5c3f864
commit
50229a2f5c
@ -2045,7 +2045,6 @@ cuda_py_test(
|
|||||||
"//tensorflow/python:gradients",
|
"//tensorflow/python:gradients",
|
||||||
"//tensorflow/python:variables",
|
"//tensorflow/python:variables",
|
||||||
],
|
],
|
||||||
xla_enable_strict_auto_jit = True,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
cuda_py_test(
|
cuda_py_test(
|
||||||
|
@ -206,6 +206,7 @@ class GatherNdTest(test.TestCase):
|
|||||||
self.assertEqual(None, tensor_shape.dimension_value(shape[0]))
|
self.assertEqual(None, tensor_shape.dimension_value(shape[0]))
|
||||||
|
|
||||||
@test_util.run_deprecated_v1
|
@test_util.run_deprecated_v1
|
||||||
|
@test_util.disable_xla("XLA does not have assertions in kernels.")
|
||||||
def testBadIndicesCPU(self):
|
def testBadIndicesCPU(self):
|
||||||
with self.session(use_gpu=False):
|
with self.session(use_gpu=False):
|
||||||
params = [0, 1, 2]
|
params = [0, 1, 2]
|
||||||
@ -229,6 +230,7 @@ class GatherNdTest(test.TestCase):
|
|||||||
self.evaluate(gather_nd)
|
self.evaluate(gather_nd)
|
||||||
|
|
||||||
@test_util.run_deprecated_v1
|
@test_util.run_deprecated_v1
|
||||||
|
@test_util.disable_xla("XLA does not have assertions in kernels.")
|
||||||
def testBadIndicesWithSlicesCPU(self):
|
def testBadIndicesWithSlicesCPU(self):
|
||||||
with self.session(use_gpu=False):
|
with self.session(use_gpu=False):
|
||||||
params = [[0, 1, 2]]
|
params = [[0, 1, 2]]
|
||||||
|
Loading…
Reference in New Issue
Block a user