diff options
author | Yong Tang <yong.tang.github@outlook.com> | 2018-06-04 15:59:36 +0000 |
---|---|---|
committer | Yong Tang <yong.tang.github@outlook.com> | 2018-07-10 15:53:17 +0000 |
commit | 9249690173fe4bf46f2fc170f3e68f5496d7609c (patch) | |
tree | 65c3373d826e1c99cc2941cf6f54331cbd8aa9b4 /tensorflow/cc | |
parent | 1466b2eb0b545241b3abd5bcf229bcb0494da6b2 (diff) |
Remove TODO and enable complex for tan in test case.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'tensorflow/cc')
-rw-r--r-- | tensorflow/cc/gradients/math_grad_test.cc | 6 |
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) { |