From df1134694f47b9a924df1bf48f673392ee1d3e15 Mon Sep 17 00:00:00 2001 From: Grzegorz Pawelczak Date: Tue, 19 Jun 2018 09:08:00 +0100 Subject: Add comments explaining why the test is skipped for f16 --- tensorflow/compiler/tests/adam_test.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tensorflow/compiler/tests/adam_test.py') diff --git a/tensorflow/compiler/tests/adam_test.py b/tensorflow/compiler/tests/adam_test.py index ee56a38f94..b904e6676b 100644 --- a/tensorflow/compiler/tests/adam_test.py +++ b/tensorflow/compiler/tests/adam_test.py @@ -52,6 +52,7 @@ class AdamOptimizerTest(XLATestCase): def testBasic(self): for dtype in self.float_types: + # TODO: test fails for float16 due to excessive precision requirements. if dtype == np.float16: continue with self.test_session(), self.test_scope(): @@ -93,6 +94,7 @@ class AdamOptimizerTest(XLATestCase): def testTensorLearningRate(self): for dtype in self.float_types: + # TODO: test fails for float16 due to excessive precision requirements. if dtype == np.float16: continue with self.test_session(), self.test_scope(): @@ -134,6 +136,7 @@ class AdamOptimizerTest(XLATestCase): def testSharing(self): for dtype in self.float_types: + # TODO: test fails for float16 due to excessive precision requirements. if dtype == np.float16: continue with self.test_session(), self.test_scope(): -- cgit v1.2.3