SciSharp / NumSharp

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

Add np.frombuffer #378

Open Nucs opened 4 years ago

Nucs commented 4 years ago

This is how we should wrap a pointer to a certain memory block. https://docs.scipy.org/doc/numpy/reference/generated/numpy.frombuffer.html