Skip to content

Commit

Permalink
Some small typo fixes. (apache#9788)
Browse files Browse the repository at this point in the history
Some small typo fixes.
  • Loading branch information
KellenSunderland authored and larroy committed Feb 21, 2018
1 parent 0dd7905 commit 44e394c
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 44e394c

Please sign in to comment.