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/09/12 12:06:45 UTC

[GitHub] [incubator-mxnet] tingying2020 commented on a change in pull request #16126: [numpy] operator around

tingying2020 commented on a change in pull request #16126: [numpy] operator around
URL: https://github.com/apache/incubator-mxnet/pull/16126#discussion_r323703197
 
 

 ##########
 File path: src/operator/tensor/elemwise_unary_op.h
 ##########
 @@ -560,6 +560,101 @@ struct ReshapeLikeParam : public dmlc::Parameter<ReshapeLikeParam> {
   }
 };
 
+struct AroundParam : public dmlc::Parameter<AroundParam> {
+  int decimals;
+  DMLC_DECLARE_PARAMETER(AroundParam) {
+    DMLC_DECLARE_FIELD(decimals)
+      .set_default(0)
+      .describe("Number of decimal places to round to.");
+  }
+};
+
+template<int req>
+struct around_forwardint{
 
 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