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

[Numpy Extension] Move shape_array to npx #16897

Merged
merged 1 commit into from
Nov 25, 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/elemwise_unary_op_basic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,7 @@ void ShapeComputeCPU(const nnvm::NodeAttrs& attrs,
}

NNVM_REGISTER_OP(shape_array)
.add_alias("_npx_shape_array")
.describe(R"code(Returns a 1D int64 array containing the shape of data.

Example::
Expand Down