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

Commit

Permalink
submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiyan66 committed Jul 3, 2020
1 parent 1e7fbca commit 97f5454
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/api/operator/numpy/np_elemwise_broadcast_logic_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ MXNET_REGISTER_API("_npi.not_equal")
UFuncHelper(args, ret, op, op_scalar, nullptr);
});

void set_UFuncHelper(runtime::MXNetArgs args, runtime::MXNetRetValue* ret,
void SetUFuncHelper(runtime::MXNetArgs args, runtime::MXNetRetValue* ret,
const nnvm::Op* op, const nnvm::Op* op_scalar,
const nnvm::Op* op_rscalar) {
int result = 0;
Expand Down Expand Up @@ -75,7 +75,7 @@ MXNET_REGISTER_API("_npi.greater")
const nnvm::Op* op = Op::Get("_npi_greater");
const nnvm::Op* op_scalar = Op::Get("_npi_greater_scalar");
const nnvm::Op* op_rscalar = Op::Get("_npi_less_scalar");
set_UFuncHelper(args, ret, op, op_scalar, op_rscalar);
SetUFuncHelper(args, ret, op, op_scalar, op_rscalar);
});

MXNET_REGISTER_API("_npi.less")
Expand All @@ -84,7 +84,7 @@ MXNET_REGISTER_API("_npi.less")
const nnvm::Op* op = Op::Get("_npi_less");
const nnvm::Op* op_scalar = Op::Get("_npi_less_scalar");
const nnvm::Op* op_rscalar = Op::Get("_npi_greater_scalar");
set_UFuncHelper(args, ret, op, op_scalar, op_rscalar);
SetUFuncHelper(args, ret, op, op_scalar, op_rscalar);
});

MXNET_REGISTER_API("_npi.greater_equal")
Expand All @@ -93,7 +93,7 @@ MXNET_REGISTER_API("_npi.greater_equal")
const nnvm::Op* op = Op::Get("_npi_greater_equal");
const nnvm::Op* op_scalar = Op::Get("_npi_greater_equal_scalar");
const nnvm::Op* op_rscalar = Op::Get("_npi_less_equal_scalar");
set_UFuncHelper(args, ret, op, op_scalar, op_rscalar);
SetUFuncHelper(args, ret, op, op_scalar, op_rscalar);
});

MXNET_REGISTER_API("_npi.less_equal")
Expand All @@ -102,7 +102,7 @@ MXNET_REGISTER_API("_npi.less_equal")
const nnvm::Op* op = Op::Get("_npi_less_equal");
const nnvm::Op* op_scalar = Op::Get("_npi_less_equal_scalar");
const nnvm::Op* op_rscalar = Op::Get("_npi_greater_equal_scalar");
set_UFuncHelper(args, ret, op, op_scalar, op_rscalar);
SetUFuncHelper(args, ret, op, op_scalar, op_rscalar);
});

} // namespace mxnet

0 comments on commit 97f5454

Please sign in to comment.