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

[Doc] broadcast axis is alias to broadcast axes #15546

Merged
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
2 changes: 2 additions & 0 deletions src/operator/tensor/broadcast_reduce_op_value.cc
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ MXNET_OPERATOR_REGISTER_BROADCAST(broadcast_axis)
Broadcasting is allowed on axes with size 1, such as from `(2,1,3,1)` to
`(2,8,3,9)`. Elements will be duplicated on the broadcasted axes.

`broadcast_axes` is an alias to the function `broadcast_axis`.

Example::

// given x of shape (1,2,1)
Expand Down