You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/08/16 06:02:56 UTC
[GitHub] [incubator-mxnet] tingying2020 commented on a change in pull
request #15890: [Numpy] operator arctan2
tingying2020 commented on a change in pull request #15890: [Numpy] operator arctan2
URL: https://github.com/apache/incubator-mxnet/pull/15890#discussion_r314592278
##########
File path: tests/python/gpu/test_operator_gpu.py
##########
@@ -2331,6 +2331,82 @@ def test_math():
for op in ops:
run_math(op, shape, dtype, check_value=check_value)
+
+@with_seed()
+@use_np
+def test_np_arctan2():
+ class TestArctan2(HybridBlock):
+ def __init__(self):
+ super(TestArctan2, self).__init__()
+
+ def hybrid_forward(self, F, x1, x2):
+ return F.np.arctan2(x1, x2)
+
+ #Reduce dimension of src to dimention of des.
Review comment:
Done.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services