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

Add arange_like to npx #16883

Merged
merged 1 commit into from
Nov 23, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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