Skip to content

Commit

Permalink
Add arange_like to npx (apache#16883)
Browse files Browse the repository at this point in the history
  • Loading branch information
sxjscience authored and TaoLv committed Nov 23, 2019
1 parent 6c20fb9 commit 971ea4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/operator/tensor/init_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ NNVM_REGISTER_OP(_arange)
.add_arguments(RangeParam::__FIELDS__());

NNVM_REGISTER_OP(_contrib_arange_like)
.add_alias("_npx_arange_like")
.describe(R"code(Return an array with evenly spaced values. If axis is not given, the output will
have the same shape as the input array. Otherwise, the output will be a 1-D array with size of
the specified axis in input shape.
Expand Down

0 comments on commit 971ea4f

Please sign in to comment.