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

Commit

Permalink
Add spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mozga-intel committed Nov 4, 2021
1 parent 3896128 commit 8a445a6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/api/operator/numpy_extension/npx_softmax_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ MXNET_REGISTER_API("_npx.softmax")
using namespace runtime;
nnvm::NodeAttrs attrs;
static const nnvm::Op* op = Op::Get("_npx_softmax");
op::SoftmaxParam param = {};
int args_size = args.size();
op::SoftmaxParam param = {};
int args_size = args.size();
// inputs
int num_inputs = args_size - 4;
std::vector<NDArray*> inputs;
Expand Down Expand Up @@ -87,7 +87,7 @@ MXNET_REGISTER_API("_npx.log_softmax")
using namespace runtime;
nnvm::NodeAttrs attrs;
static const nnvm::Op* op = Op::Get("_npx_log_softmax");
op::SoftmaxParam param = {};
op::SoftmaxParam param = {};

int args_size = args.size();
// inputs
Expand Down Expand Up @@ -141,7 +141,7 @@ MXNET_REGISTER_API("_npx.masked_softmax")
.set_body([](runtime::MXNetArgs args, runtime::MXNetRetValue* ret) {
using namespace runtime;
nnvm::NodeAttrs attrs;
static const nnvm::Op* op = Op::Get("_npx_masked_softmax");
static const nnvm::Op* op = Op::Get("_npx_masked_softmax");
op::MaskedSoftmaxParam param = {};

// inputs
Expand Down Expand Up @@ -185,7 +185,7 @@ MXNET_REGISTER_API("_npx.masked_log_softmax")
.set_body([](runtime::MXNetArgs args, runtime::MXNetRetValue* ret) {
using namespace runtime;
nnvm::NodeAttrs attrs;
static const nnvm::Op* op = Op::Get("_npx_masked_log_softmax");
static const nnvm::Op* op = Op::Get("_npx_masked_log_softmax");
op::MaskedSoftmaxParam param = {};

// inputs
Expand Down

0 comments on commit 8a445a6

Please sign in to comment.