aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/cc
diff options
context:
space:
mode:
authorGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-07-27 11:06:15 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-07-27 11:06:15 -0700
commit22107ea509d16803f33f723d54d313b9be5622cc (patch)
treeec4ae56e18e599da2f723c98ffa047478a296a72 /tensorflow/cc
parente888f2cb5ed6f60526a23063bfb30b27f9233980 (diff)
parent9249690173fe4bf46f2fc170f3e68f5496d7609c (diff)
Merge pull request #20671 from yongtang:06052018-tan-complex
PiperOrigin-RevId: 206341656
Diffstat (limited to 'tensorflow/cc')
-rw-r--r--tensorflow/cc/gradients/math_grad_test.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/tensorflow/cc/gradients/math_grad_test.cc b/tensorflow/cc/gradients/math_grad_test.cc
index fd7b6fe662..1c9bdff5e1 100644
--- a/tensorflow/cc/gradients/math_grad_test.cc
+++ b/tensorflow/cc/gradients/math_grad_test.cc
@@ -475,11 +475,7 @@ TEST_F(CWiseUnaryGradTest, Tan_Complex) {
auto x_fn = [this](const int i) {
return CRV({{1, 0}, {0, 1}, {2, -1}, {1, 2}, {3, 4}});
};
- // TODO(kbsriram)
- // Enable when tan kernel supports complex inputs
- if (false) {
- TestCWiseGrad<complex64, complex64>(TAN, x_fn);
- }
+ TestCWiseGrad<complex64, complex64>(TAN, x_fn);
}
TEST_F(CWiseUnaryGradTest, Atan) {