-
Notifications
You must be signed in to change notification settings - Fork 6.8k
[Bug][Numpy] The data type of power is not correct #16653
Comments
I believe https://github.com/apache/incubator-mxnet/blob/master/src/operator/numpy/np_elemwise_broadcast_op.cc#L32 is the root cause of this problem.
The |
@xidulu yes, the mixed precision binary ops is the effort that aims to solve this kind of problem. Right now we have multiplication between |
This is a known issue of many operators from which floats are expected with integral inputs. Instead of tweaking many |
@lanking520 assign @reminisce |
The latest master branch today has this behavior:
But still has a little bit problem with the scalar case:
I think this is a new case for the binary scalar op, I'll work on a solution to this. |
@Tommliu is working on this. |
closed by #18277 |
Returns
In the numpy the result should be:
Returns
The text was updated successfully, but these errors were encountered: