aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/tests
diff options
context:
space:
mode:
authorGravatar Benjamin Kramer <kramerb@google.com>2018-09-21 01:50:01 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-21 01:54:24 -0700
commit287c73d3ff1df0b064d9028ad0fa59242a18a077 (patch)
tree54a4a1f4e0e7825ed5d81d7294dfe7f52fc7225e /tensorflow/compiler/tests
parentde0e25fd221a341b1be48673e83c7437b34210f9 (diff)
[XLA:CPU] Re-enable half float tests for unary ops
This was blocked by an LLVM bug, which was fixed in r342542. PiperOrigin-RevId: 213953743
Diffstat (limited to 'tensorflow/compiler/tests')
-rw-r--r--tensorflow/compiler/tests/unary_ops_test.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tensorflow/compiler/tests/unary_ops_test.py b/tensorflow/compiler/tests/unary_ops_test.py
index 04ea004fe7..77f6eee0cf 100644
--- a/tensorflow/compiler/tests/unary_ops_test.py
+++ b/tensorflow/compiler/tests/unary_ops_test.py
@@ -158,9 +158,6 @@ class UnaryOpsTest(xla_test.XLATestCase):
def testFloatOps(self):
for dtype in self.float_types:
- # TODO(b/77694432): Half test failed on CPU, last ran on 04-06-2018.
- if dtype == np.float16 and self.device == "XLA_CPU":
- continue
x = np.arange(-0.90, 0.90, 0.25)
self._assertOpOutputMatchesExpected(
math_ops.acos, x.astype(dtype), expected=np.arccos(x).astype(dtype))