Skip to content
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

Cannot create an NDArray of shorts #506

Open
NickBotelho opened this issue Jan 24, 2024 · 0 comments
Open

Cannot create an NDArray of shorts #506

NickBotelho opened this issue Jan 24, 2024 · 0 comments

Comments

@NickBotelho
Copy link

When I try to initialize an NDArray with the short type, it throws a System.NotSupportedException. It seems like it only does this with shorts, every other type works fine. Heres a line of code to run to reproduce

var nd = new NDArray(dtype: np.int16, shape: new Shape(new []{1, 2}));

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

No branches or pull requests

1 participant