Python NumPy Speed Comparison with Base Python Function

preview_player
Показать описание
In this video we compare NumPy's sqrt function against Base Python. Andrej Karpathy shared a tweet which stated base python function for square roots are faster than numpy and this single line change sped up their Dataloaders by 10%.

Join this channel to get access to perks:

*I use affiliate links on the products that I recommend. These give me a small portion of the sales price at no cost to you. I appreciate the proceeds and they help me to improve my channel!

If you do have any questions with what we covered in this video then feel free to ask in the comment section below & I'll do my best to answer those.

If you enjoy these tutorials & would like to support them then the easiest way is to simply like the video & give it a thumbs up & also it's a huge help to share these videos with anyone who you think would find them useful.

Please consider clicking the SUBSCRIBE button to be notified for future videos & thank you all for watching.

You can find me on:

#NumPy #Python
Рекомендации по теме
Комментарии
Автор

numpy is also good with numba to compile the code using LLVM.

codecaine
Автор

Simple operation but learnt a lot. Thank you

hemanthgowda