diff options
Diffstat (limited to 'tensorflow/python/kernel_tests/denormal_test.py')
-rw-r--r-- | tensorflow/python/kernel_tests/denormal_test.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tensorflow/python/kernel_tests/denormal_test.py b/tensorflow/python/kernel_tests/denormal_test.py index f3b1a8768f..2d48cd4163 100644 --- a/tensorflow/python/kernel_tests/denormal_test.py +++ b/tensorflow/python/kernel_tests/denormal_test.py @@ -19,6 +19,7 @@ from __future__ import division from __future__ import print_function import numpy as np +import platform from tensorflow.python.framework import constant_op from tensorflow.python.ops import array_ops @@ -34,6 +35,10 @@ class DenormalTest(test.TestCase): self.assertEqual(tiny, tiny / 16 * 16) def _flushDenormalsTest(self, use_gpu, dtypes): + if platform.machine() == "ppc64le": + # Disabled denormal_test on power platform + # Check relevant discussion - https://github.com/tensorflow/tensorflow/issues/11902 + return with self.test_session(use_gpu=use_gpu): array_ops.identity(7).eval() for dtype in dtypes: |