-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creation of tensor in 3.0.0 results in NonImplementedError #704
Comments
could you place the result of "conda list" here? |
You may check the anaconda cloud for the existing version available I have run python 3.7 singa 3.0.0 cpu in ubuntu without any problem, you may see the following log:
|
|
Will check the updated version |
Updating to 3.7, the version seems to working well. Thank you for the assistance. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
For the creation of Tensor in singa 3.0.0 cpu for py36 results in an error as described below:
NotImplementedError: Wrong number or type of arguments for overloaded function 'new_Tensor'.
Possible C/C++ prototypes are:
singa::Tensor::Tensor()
singa::Tensor::Tensor(std::vector< size_t,std::allocator< size_t > > const &,singa::DataType)
singa::Tensor::Tensor(std::vector< size_t,std::allocator< size_t > > const &)
singa::Tensor::Tensor(std::vector< size_t,std::allocator< size_t > > const &,std::shared_ptr< singa::Device >,singa::DataType)
singa::Tensor::Tensor(std::vector< size_t,std::allocator< size_t > > const &,std::shared_ptr< singa::Device >)
singa::Tensor::Tensor(singa::Tensor const &)
The tensor were created from numpy with code implementation as below:
import numpy as np
from singa import tensor
tensor.from_numpy( np.asarray([[1, 0, 0], [0, 1, 0]], dtype=np.float32) )
Following are the operating system specification:
OS: MacOS version 10.15.3
python version: 3.6.10
singa: 3.0.0 cpu_py36
The same code seems to work on singa version 3.0.0.rc1 cpu_py36
The text was updated successfully, but these errors were encountered: