We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
NDArray anchors = manager.zeros(new Shape(3),Datatype.FLOAT32); int[] data = new int[]{1,2,3}; anchors.set(data);
should throw an exception when datatypes mismatch
The text was updated successfully, but these errors were encountered:
What is the current behaviour? I think instead of throwing a datatypes mismatch, another way is to automatically convert the datatype.
Sorry, something went wrong.
it doesn't set the NDArray to corresponding data
Successfully merging a pull request may close this issue.
Description
NDArray anchors = manager.zeros(new Shape(3),Datatype.FLOAT32);
int[] data = new int[]{1,2,3};
anchors.set(data);
Expected Behavior
should throw an exception when datatypes mismatch
The text was updated successfully, but these errors were encountered: