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

Fail to use mxnet.numpy.prod(a.shape) #18300

Open
acphile opened this issue May 13, 2020 · 1 comment
Open

Fail to use mxnet.numpy.prod(a.shape) #18300

acphile opened this issue May 13, 2020 · 1 comment

Comments

@acphile
Copy link
Contributor

acphile commented May 13, 2020

>>> mx.np.prod(a.shape)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<string>", line 31, in prod
AssertionError: Argument a must have NDArray type, but got (5,)

while numpy supports that.

@yzhliu
Copy link
Member

yzhliu commented May 21, 2020

We might postpone to support it after 2.0. Let's still leave the v2.0 label and revisit if we have time before the release.

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