W2 E5 - dot product vs element-wise multiplication

Here’s a thread about how to decide between dot product and elementwise multiply.

Here’s another one that is more specific to this question of how to compute the cost.

2 Likes