SciSharp/NumSharp

Cannot create an NDArray of shorts

NickBotelho opened this issue · 0 comments

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}));