Yayun Liu's Blog Engineer, Blogger, Learner, Runner

Deep Learning 1.0.0.7: Vectorization


What is vectorization?

Vectorization is the process of converting a mathematical operation into a vector or matrix operation. In the context of deep learning, vectorization is used to speed up the computation of neural networks by performing operations on multiple inputs simultaneously.

Vectorization Demo

vectorization

vectorization

Note: Avoid using explicit for-loops in Python when possible, as they are slow compared to vectorized operations. vectorization

Vectorization Examples

Example.png

Example.png

Example2.png

Example3.png

References


Comments

Content