aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/ops/math_grad_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/ops/math_grad_test.py')
-rw-r--r--tensorflow/python/ops/math_grad_test.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/tensorflow/python/ops/math_grad_test.py b/tensorflow/python/ops/math_grad_test.py
index 04eeb00518..5732c756ce 100644
--- a/tensorflow/python/ops/math_grad_test.py
+++ b/tensorflow/python/ops/math_grad_test.py
@@ -113,23 +113,6 @@ class MinOrMaxGradientTest(test.TestCase):
self.assertLess(error, 1e-4)
-class MaximumOrMinimumGradientTest(test.TestCase):
-
- def testMaximumGradient(self):
- inputs = constant_op.constant([1.0, 2.0, 3.0, 4.0], dtype=dtypes.float32)
- outputs = math_ops.maximum(inputs, 3.0)
- with self.test_session():
- error = gradient_checker.compute_gradient_error(inputs, [4], outputs, [4])
- self.assertLess(error, 1e-4)
-
- def testMinimumGradient(self):
- inputs = constant_op.constant([1.0, 2.0, 3.0, 4.0], dtype=dtypes.float32)
- outputs = math_ops.minimum(inputs, 2.0)
- with self.test_session():
- error = gradient_checker.compute_gradient_error(inputs, [4], outputs, [4])
- self.assertLess(error, 1e-4)
-
-
class ProdGradientTest(test.TestCase):
def testProdGradient(self):