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

Commit 26243ee

Browse files
authored
Fix broadcast ops descriptions (#21087)
1 parent 84b1626 commit 26243ee

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/operator/tensor/elemwise_binary_broadcast_op_extended.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ Example::
3939
y = [[ 0.],
4040
[ 1.]]
4141
42-
broadcast_power(x, y) = [[ 2., 2., 2.],
43-
[ 4., 4., 4.]]
42+
broadcast_power(x, y) = [[ 1., 1., 1.],
43+
[ 1., 1., 1.]]
4444
4545
)code" ADD_FILELINE)
4646
.set_attr<FCompute>("FCompute<cpu>", BinaryBroadcastCompute<cpu, mshadow_op::power>)
@@ -112,7 +112,7 @@ Example::
112112
y = [[ 0.],
113113
[ 1.]]
114114
115-
broadcast_maximum(x, y) = [[ 0., 0., 0.],
115+
broadcast_minimum(x, y) = [[ 0., 0., 0.],
116116
[ 1., 1., 1.]]
117117
118118
)code" ADD_FILELINE)

0 commit comments

Comments
 (0)