If you are going to use the dot product to compute the cost, it requires that you transpose the second operand. Here’s a thread which shows some examples of the techniques that can be used.
If you are going to use the dot product to compute the cost, it requires that you transpose the second operand. Here’s a thread which shows some examples of the techniques that can be used.