This is an automated email from the ASF dual-hosted git repository.

bgawrych pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 26243eea86 Fix broadcast ops descriptions (#21087)
26243eea86 is described below

commit 26243eea86ffa54dab9463e8babd375fa2fcb463
Author: bartekkuncer <[email protected]>
AuthorDate: Thu Jul 7 14:49:46 2022 +0200

    Fix broadcast ops descriptions (#21087)
---
 src/operator/tensor/elemwise_binary_broadcast_op_extended.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/operator/tensor/elemwise_binary_broadcast_op_extended.cc 
b/src/operator/tensor/elemwise_binary_broadcast_op_extended.cc
index c88957de67..d5c5950d4b 100644
--- a/src/operator/tensor/elemwise_binary_broadcast_op_extended.cc
+++ b/src/operator/tensor/elemwise_binary_broadcast_op_extended.cc
@@ -39,8 +39,8 @@ Example::
    y = [[ 0.],
         [ 1.]]
 
-   broadcast_power(x, y) = [[ 2.,  2.,  2.],
-                            [ 4.,  4.,  4.]]
+   broadcast_power(x, y) = [[ 1.,  1.,  1.],
+                            [ 1.,  1.,  1.]]
 
 )code" ADD_FILELINE)
     .set_attr<FCompute>("FCompute<cpu>", BinaryBroadcastCompute<cpu, 
mshadow_op::power>)
@@ -112,7 +112,7 @@ Example::
    y = [[ 0.],
         [ 1.]]
 
-   broadcast_maximum(x, y) = [[ 0.,  0.,  0.],
+   broadcast_minimum(x, y) = [[ 0.,  0.,  0.],
                               [ 1.,  1.,  1.]]
 
 )code" ADD_FILELINE)

Reply via email to