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

[Numpy] Cannot mix int32 and int64 #17839

Closed
sxjscience opened this issue Mar 15, 2020 · 1 comment
Closed

[Numpy] Cannot mix int32 and int64 #17839

sxjscience opened this issue Mar 15, 2020 · 1 comment

Comments

@sxjscience
Copy link
Member

Code:

import mxnet as mx
mx.npx.set_np()
a = mx.np.ones((10,), dtype=mx.np.int32)
b = mx.np.ones((10,), dtype=mx.np.int64)
c = a * b
print(c)

Error:

MXNetError: Operator _npi_multiply does not support combination of int with long long yet...
@JiangZhaoh
Copy link
Contributor

Fixed by #17921

@leezu leezu closed this as completed Apr 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants