szha closed pull request #9788: Some small typo fixes.
URL: https://github.com/apache/incubator-mxnet/pull/9788
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/src/operator/nn/softmax_activation-inl.h 
b/src/operator/nn/softmax_activation-inl.h
index 500bf51ccd..2c40e41d24 100644
--- a/src/operator/nn/softmax_activation-inl.h
+++ b/src/operator/nn/softmax_activation-inl.h
@@ -39,7 +39,7 @@
 namespace mxnet {
 namespace op {
 // Declare enumeration of input order to make code more intuitive.
-// // These enums are only visible within this header
+// These enums are only visible within this header
 namespace softmax_activation {
 enum SoftmaxActivationOpInputs {kData};
 enum SoftmaxActivationOpOutputs {kOut};
@@ -138,7 +138,7 @@ class SoftmaxActivationOp : public Operator {
   SoftmaxActivationParam param_;
 };  // class SoftmaxActivationOp
 
-// Decalre Factory function, used for dispatch specialization
+// Declare Factory function, used for dispatch specialization
 template<typename xpu>
 Operator* CreateOp(SoftmaxActivationParam type);
 
@@ -175,7 +175,7 @@ class SoftmaxActivationProp : public OperatorProperty {
     return "SoftmaxActivation";
   }
 
-  // decalre dependency and inplace optimization options
+  // Declare dependency and inplace optimization options
   std::vector<int> DeclareBackwardDependency(
     const std::vector<int> &out_grad,
     const std::vector<int> &in_data,


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to