[TF:XLA] Enable some tests that were mistakenly disabled.
PiperOrigin-RevId: 233816788
This commit is contained in:
parent
7df8df33c5
commit
1e3981b638
tensorflow/python
@ -3403,6 +3403,7 @@ cuda_py_test(
|
||||
":framework_test_lib",
|
||||
],
|
||||
tags = ["no_windows"],
|
||||
xla_enable_strict_auto_jit = True,
|
||||
)
|
||||
|
||||
cuda_py_test(
|
||||
|
@ -35,7 +35,6 @@ class BitwiseOpTest(test_util.TensorFlowTestCase):
|
||||
super(BitwiseOpTest, self).__init__(method_name)
|
||||
|
||||
@test_util.run_deprecated_v1
|
||||
@test_util.disable_xla("This test never passed for XLA")
|
||||
def testBinaryOps(self):
|
||||
dtype_list = [dtypes.int8, dtypes.int16, dtypes.int32, dtypes.int64,
|
||||
dtypes.uint8, dtypes.uint16, dtypes.uint32, dtypes.uint64]
|
||||
@ -73,7 +72,6 @@ class BitwiseOpTest(test_util.TensorFlowTestCase):
|
||||
self.assertAllEqual(truth, popcnt_result)
|
||||
|
||||
@test_util.run_deprecated_v1
|
||||
@test_util.disable_xla("This test never passed for XLA")
|
||||
def testInvertOp(self):
|
||||
dtype_list = [dtypes.int8, dtypes.int16, dtypes.int32, dtypes.int64,
|
||||
dtypes.uint8, dtypes.uint16, dtypes.uint32, dtypes.uint64]
|
||||
@ -99,7 +97,6 @@ class BitwiseOpTest(test_util.TensorFlowTestCase):
|
||||
self.assertAllEqual(inverted, expected)
|
||||
|
||||
@test_util.run_deprecated_v1
|
||||
@test_util.disable_xla("This test never passed for XLA")
|
||||
def testShiftsWithPositiveLHS(self):
|
||||
dtype_list = [np.int8, np.int16, np.int32, np.int64,
|
||||
np.uint8, np.uint16, np.uint32, np.uint64]
|
||||
|
@ -119,7 +119,6 @@ class LBetaTest(test.TestCase):
|
||||
special_math_ops.lbeta(x).get_shape())
|
||||
|
||||
@test_util.run_in_graph_and_eager_modes
|
||||
@test_util.disable_xla('This test never passed for XLA')
|
||||
def test_length_1_last_dimension_results_in_one(self):
|
||||
# If there is only one coefficient, the formula still works, and we get one
|
||||
# as the answer, always.
|
||||
|
Loading…
Reference in New Issue
Block a user