NumSharp
NumSharp copied to clipboard
Performance on np.matmul
The shape of x is [200, 1000], of w is [1000, 500], and of b is [500]
b is filled with zeros, x and w are random float64/double.
Example code of NumSharp:
var out = np.matmul(x, w) + b;
... takes 3-4 seconds.
Example code of numpy:
out = x @ w + b
... finishes immediately.
@Banyc Can you test it in TensorFlow.NET eager mode?
I use only this package to implement neural network layers from the stretch, without using other packages like Tensorflow.NET.
It will have performance issue. Should use other more mature package.