github-eliviate opened a new issue #20942:
URL: https://github.com/apache/incubator-mxnet/issues/20942


   ## Description
   (A clear and concise description of what the bug is.)
   the annotation of the broadcast_power is wrong both in the 
https://github.com/apache/incubator-mxnet/blob/1.6.0/src/operator/tensor/elemwise_binary_broadcast_op_extended.cc#L45
 and 
https://mxnet.apache.org/api/python/docs/api/legacy/symbol/symbol.html?highlight=broadcast_power#mxnet.symbol.broadcast_power
   
   ## To Reproduce
   (If you developed your own code, please provide a short script that 
reproduces the error. For existing examples, please provide link.)
   
   import mxnet as mx
   from mxnet import nd
   arr1=nd.array([[1,1,1],[1,1,1]])
   arr2=nd.array([[0],[1]])
   a = mx.sym.Variable('a')
   b = mx.sym.Variable('b')
   c = mx.sym.broadcast_power(a,b,name="c")
   x = c.bind(ctx=mx.cpu(),args={"a": arr1,"b":arr2})
   result = x.forward()
   print(result)
   #output:
   #[
   #[[1. 1. 1.]
   # [1. 1. 1.]]
   #<NDArray 2x3 @cpu(0)>]
   
   ## Environment
   python3.6
   mxnet:1.1.0.post0
   
   
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to