3 ms·
Hmm nice article but imho skips over the biggest optimization: numpy uses BLAS libraries so stuff like > >>> multiply_by_two = homogenous_array * 2 will be ca
by _visgean 4y ago
Hmm nice article but imho skips over the biggest optimization: numpy uses BLAS libraries so stuff like
> >>> multiply_by_two = homogenous_array * 2
will be calculated most of the times using a BLAS library - whichever you are using (https://numpy.org/devdocs/user/building.html https://numpy.org/devdocs/user/building.html)
- cdavid 4y agoThat article talks about DL, where blas is much less relevant. The kernels are mostly CUDA (for GPU) and similar stuff for other accelerators.