Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Some small typo fixes. (#9788)
Browse files Browse the repository at this point in the history
Some small typo fixes.
  • Loading branch information
KellenSunderland authored and szha committed Feb 13, 2018
1 parent 7b24137 commit 45e8555
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/operator/nn/softmax_activation-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down Expand Up @@ -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);

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 45e8555

Please sign in to comment.