SciSharp / NumSharp

High Performance Computation for N-D Tensors in .NET, similar API to NumPy.
https://github.com/SciSharp
Apache License 2.0
1.34k stars 188 forks source link

Added data types in np.frombuffer. #425

Closed ghost closed 3 years ago

ghost commented 3 years ago

In response to issue #423,

I added data types ( int16, int64, uint16, uint32, uint64, single and double) in method np.frombuffer(byte[] bytes, Type dtype) and also their corresponding unit tests.