Johnny.sh

Vectorization

Videos:

  • Vectorization
  • More Vectorization Examples

In bullet points:

  • ML tasks are usually highly parallelizable due to the nature of the problem. Single instruction, multiple data (SIMD).
  • Any time you see a for loop, you should have a reflex to vectorize that.
  • Use numpy library’s .dot method.
Last modified: May 15, 2023
/about
/uses
/notes
/talks
/projects
/podcasts
/reading-list
/spotify
© 2024