Broadcasting example solution

Sir in one example u said that 1×4 &1×5 cannot be further broadcast but after that in 4×1 and 1×5 why this number is broadcasted

Are you referring to a dot product in the second example?

No sir…one minute I’m sharing that image so u would understand my question

so this is the image in which one broadcasting is possible while other is not but why the second one will be broadcasted that I’m not understanding…

It’s because of the rule that we have in broadcasting. Either the dimensions match from backward, or one of them is 1.
Here in this example, last dimension of (4,1) is 1.

1 Like

Okay sir I got it…thanks