-
Notifications
You must be signed in to change notification settings - Fork 6.8k
[Numpy] Boolean array bug #16658
Comments
The problem only occurs after I called hybridize. |
After offline discussion with @haojin2, it could be solved by fixing this line https://github.com/apache/incubator-mxnet/blob/86ed5f5c0a72d1e34b29b0396432d04888274ce2/src/operator/tensor/elemwise_unary_op.h#L454 to add WITH_BOOL |
boolean ndarrays are only supported in a few ops right now. We need to enable them gradually in more ops. Thanks for reporting this. |
@reminisce I agree. At least we should fix cast, otherwise we cannot use |
@sxjscience |
@reminisce In this case, |
@sxjscience Sorry didn't notice your earlier comments. I will investigate to see why there is a such difference. |
In imperative mode, |
The text was updated successfully, but these errors were encountered: