Skip to content
This repository has been archived by the owner on Oct 15, 2019. It is now read-only.

np.where has not the same usage as numpy #188

Open
whitelok opened this issue Mar 3, 2019 · 0 comments
Open

np.where has not the same usage as numpy #188

whitelok opened this issue Mar 3, 2019 · 0 comments

Comments

@whitelok
Copy link

whitelok commented Mar 3, 2019

File "/usr/local/lib/python3.6/dist-packages/minpy/primitive.py", line 141, in call
return self.call(args, kwargs)
File "/usr/local/lib/python3.6/dist-packages/minpy/primitive.py", line 238, in call
result_value = self._func(*arg_values, **kwarg_values)
File "", line 62, in where
File "/usr/local/lib/python3.6/dist-packages/mxnet/_ctypes/ndarray.py", line 92, in _imperative_invoke
ctypes.byref(out_stypes)))
File "/usr/local/lib/python3.6/dist-packages/mxnet/base.py", line 251, in check_call
raise MXNetError(py_str(_LIB.MXGetLastError()))
mxnet.base.MXNetError: [07:52:08] src/c_api/../imperative/imperative_utils.h:336: Check failed: num_inputs == infered_num_inputs (1 vs. 3) Operator where expects 3 inputs, but got 1 instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant